From c157de53b1c647f539d0e0a1dc671241f61401fb Mon Sep 17 00:00:00 2001 From: David Kallesen Date: Mon, 1 Jul 2024 16:18:18 +0200 Subject: [PATCH 1/9] chore: Nuget update --- Directory.Build.props | 4 ++-- atc-coding-rules-updater.json | 6 ------ .../Atc.CodeGeneration.CSharp.csproj | 4 ++-- .../Atc.Rest.ApiGenerator.CLI.csproj | 4 ++-- .../Atc.Rest.ApiGenerator.CodingRules.csproj | 2 +- .../Atc.Rest.ApiGenerator.Contracts.csproj | 4 ++-- .../Atc.Rest.ApiGenerator.Framework.Minimal.csproj | 2 +- .../Atc.Rest.ApiGenerator.Framework.Mvc.csproj | 4 ++-- .../Atc.Rest.ApiGenerator.Framework.csproj | 6 +++--- .../Atc.Rest.ApiGenerator.Nuget.csproj | 2 +- .../Atc.Rest.ApiGenerator.OpenApi.csproj | 6 +++--- .../Atc.Rest.ApiGenerator.csproj | 12 ++++++------ test/.editorconfig | 2 +- .../Atc.Rest.ApiGenerator.CLI.Tests.csproj | 6 +++--- .../Atc.Rest.ApiGenerator.Nuget.Tests.csproj | 2 +- 15 files changed, 30 insertions(+), 36 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index d0591b17..08c760a7 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -43,10 +43,10 @@ - + - + \ No newline at end of file diff --git a/atc-coding-rules-updater.json b/atc-coding-rules-updater.json index 780fd5c1..65e3cb36 100644 --- a/atc-coding-rules-updater.json +++ b/atc-coding-rules-updater.json @@ -5,12 +5,6 @@ "temporarySuppressionAsExcel": false, "analyzerProviderCollectingMode": "LocalCache", "mappings": { - "sample": { - "paths": [ - "sample-minimal", - "sample-mvc" - ] - }, "src": { "paths": [ "src" diff --git a/src/Atc.CodeGeneration.CSharp/Atc.CodeGeneration.CSharp.csproj b/src/Atc.CodeGeneration.CSharp/Atc.CodeGeneration.CSharp.csproj index bb3b58c1..10e5e195 100644 --- a/src/Atc.CodeGeneration.CSharp/Atc.CodeGeneration.CSharp.csproj +++ b/src/Atc.CodeGeneration.CSharp/Atc.CodeGeneration.CSharp.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/Atc.Rest.ApiGenerator.CLI/Atc.Rest.ApiGenerator.CLI.csproj b/src/Atc.Rest.ApiGenerator.CLI/Atc.Rest.ApiGenerator.CLI.csproj index 161beec4..f5717a27 100644 --- a/src/Atc.Rest.ApiGenerator.CLI/Atc.Rest.ApiGenerator.CLI.csproj +++ b/src/Atc.Rest.ApiGenerator.CLI/Atc.Rest.ApiGenerator.CLI.csproj @@ -13,8 +13,8 @@ - - + + diff --git a/src/Atc.Rest.ApiGenerator.CodingRules/Atc.Rest.ApiGenerator.CodingRules.csproj b/src/Atc.Rest.ApiGenerator.CodingRules/Atc.Rest.ApiGenerator.CodingRules.csproj index 80d8d362..cb11a9b6 100644 --- a/src/Atc.Rest.ApiGenerator.CodingRules/Atc.Rest.ApiGenerator.CodingRules.csproj +++ b/src/Atc.Rest.ApiGenerator.CodingRules/Atc.Rest.ApiGenerator.CodingRules.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/Atc.Rest.ApiGenerator.Contracts/Atc.Rest.ApiGenerator.Contracts.csproj b/src/Atc.Rest.ApiGenerator.Contracts/Atc.Rest.ApiGenerator.Contracts.csproj index 8c4585ff..a09d0260 100644 --- a/src/Atc.Rest.ApiGenerator.Contracts/Atc.Rest.ApiGenerator.Contracts.csproj +++ b/src/Atc.Rest.ApiGenerator.Contracts/Atc.Rest.ApiGenerator.Contracts.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/Atc.Rest.ApiGenerator.Framework.Minimal/Atc.Rest.ApiGenerator.Framework.Minimal.csproj b/src/Atc.Rest.ApiGenerator.Framework.Minimal/Atc.Rest.ApiGenerator.Framework.Minimal.csproj index 13b49863..82bebcba 100644 --- a/src/Atc.Rest.ApiGenerator.Framework.Minimal/Atc.Rest.ApiGenerator.Framework.Minimal.csproj +++ b/src/Atc.Rest.ApiGenerator.Framework.Minimal/Atc.Rest.ApiGenerator.Framework.Minimal.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/Atc.Rest.ApiGenerator.Framework.Mvc/Atc.Rest.ApiGenerator.Framework.Mvc.csproj b/src/Atc.Rest.ApiGenerator.Framework.Mvc/Atc.Rest.ApiGenerator.Framework.Mvc.csproj index 897337aa..38d1b33b 100644 --- a/src/Atc.Rest.ApiGenerator.Framework.Mvc/Atc.Rest.ApiGenerator.Framework.Mvc.csproj +++ b/src/Atc.Rest.ApiGenerator.Framework.Mvc/Atc.Rest.ApiGenerator.Framework.Mvc.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/Atc.Rest.ApiGenerator.Framework/Atc.Rest.ApiGenerator.Framework.csproj b/src/Atc.Rest.ApiGenerator.Framework/Atc.Rest.ApiGenerator.Framework.csproj index 0597910c..39bae1ac 100644 --- a/src/Atc.Rest.ApiGenerator.Framework/Atc.Rest.ApiGenerator.Framework.csproj +++ b/src/Atc.Rest.ApiGenerator.Framework/Atc.Rest.ApiGenerator.Framework.csproj @@ -26,9 +26,9 @@ - - - + + + diff --git a/src/Atc.Rest.ApiGenerator.Nuget/Atc.Rest.ApiGenerator.Nuget.csproj b/src/Atc.Rest.ApiGenerator.Nuget/Atc.Rest.ApiGenerator.Nuget.csproj index 80d8d362..cb11a9b6 100644 --- a/src/Atc.Rest.ApiGenerator.Nuget/Atc.Rest.ApiGenerator.Nuget.csproj +++ b/src/Atc.Rest.ApiGenerator.Nuget/Atc.Rest.ApiGenerator.Nuget.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/Atc.Rest.ApiGenerator.OpenApi/Atc.Rest.ApiGenerator.OpenApi.csproj b/src/Atc.Rest.ApiGenerator.OpenApi/Atc.Rest.ApiGenerator.OpenApi.csproj index 272e620e..b7ca1e4c 100644 --- a/src/Atc.Rest.ApiGenerator.OpenApi/Atc.Rest.ApiGenerator.OpenApi.csproj +++ b/src/Atc.Rest.ApiGenerator.OpenApi/Atc.Rest.ApiGenerator.OpenApi.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/src/Atc.Rest.ApiGenerator/Atc.Rest.ApiGenerator.csproj b/src/Atc.Rest.ApiGenerator/Atc.Rest.ApiGenerator.csproj index 69bc5eed..77e36e1b 100644 --- a/src/Atc.Rest.ApiGenerator/Atc.Rest.ApiGenerator.csproj +++ b/src/Atc.Rest.ApiGenerator/Atc.Rest.ApiGenerator.csproj @@ -8,12 +8,12 @@ - - - - - - + + + + + + diff --git a/test/.editorconfig b/test/.editorconfig index 5ba71813..92d06391 100644 --- a/test/.editorconfig +++ b/test/.editorconfig @@ -22,7 +22,7 @@ # https://www.meziantou.net/enforcing-asynchronous-code-good-practices-using-a-roslyn-analyzer.htm dotnet_diagnostic.MA0004.severity = none # https://github.com/atc-net/atc-coding-rules/blob/main/documentation/CodeAnalyzersRules/Meziantou/MA0004.md dotnet_diagnostic.MA0016.severity = none # https://github.com/atc-net/atc-coding-rules/blob/main/documentation/CodeAnalyzersRules/Meziantou/MA0016.md - +dotnet_diagnostic.MA0051.severity = none # Method Length # Microsoft - Code Analysis # https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj b/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj index 25a3314c..d874a0ef 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj @@ -48,11 +48,11 @@ - + - - + + diff --git a/test/Atc.Rest.ApiGenerator.Nuget.Tests/Atc.Rest.ApiGenerator.Nuget.Tests.csproj b/test/Atc.Rest.ApiGenerator.Nuget.Tests/Atc.Rest.ApiGenerator.Nuget.Tests.csproj index cfdca245..c9b9c581 100644 --- a/test/Atc.Rest.ApiGenerator.Nuget.Tests/Atc.Rest.ApiGenerator.Nuget.Tests.csproj +++ b/test/Atc.Rest.ApiGenerator.Nuget.Tests/Atc.Rest.ApiGenerator.Nuget.Tests.csproj @@ -6,7 +6,7 @@ - + From 495f7e67dea9447608ca7d2fd10c26740aee1503 Mon Sep 17 00:00:00 2001 From: David Kallesen Date: Mon, 1 Jul 2024 16:23:49 +0200 Subject: [PATCH 2/9] feat: Introduce CustomErrorResponseModel from ApiOptions to Client-Gen --- .../Internal/GenerateContentWriter.cs | 3 +- .../ApiOptionsHelper.cs | 118 +++++++++++------- .../Commands/GenerateClientCSharpCommand.cs | 11 +- .../ContentGeneratorClientEndpoint.cs | 33 +++-- .../ClientCSharpApiGenerator.cs | 41 +++++- .../Models/CustomErrorResponseModel.cs | 14 +++ .../Models/CustomErrorResponseModelSchema.cs | 11 ++ ...ratorServerClientModelParametersFactory.cs | 93 ++++++++++++-- .../Writers/ContentWriter.cs | 12 +- .../Extensions/OpenApiDocumentExtensions.cs | 45 +++++-- .../OpenApiKeyValuePairExtensions.cs | 27 ++++ .../Extensions/OpenApiMediaTypeExtensions.cs | 26 ++++ .../Extensions/OpenApiParameterExtensions.cs | 22 ++++ .../Extensions/OpenApiSchemaExtensions.cs | 48 +++++-- .../Generators/ClientCSharpApiGenerator.cs | 20 ++- src/Atc.Rest.ApiGenerator/GlobalUsings.cs | 1 + .../Helpers/GenerateHelper.cs | 16 +-- .../Models/ClientCSharpApiProjectOptions.cs | 37 +----- .../Options/ApiOptionsGenerator.cs | 8 ++ .../Options/ApiOptionsGeneratorClient.cs | 10 ++ .../Options/ApiOptionsGeneratorResponse.cs | 2 + 21 files changed, 446 insertions(+), 152 deletions(-) create mode 100644 src/Atc.Rest.ApiGenerator.Contracts/Models/CustomErrorResponseModel.cs create mode 100644 src/Atc.Rest.ApiGenerator.Contracts/Models/CustomErrorResponseModelSchema.cs create mode 100644 src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiMediaTypeExtensions.cs create mode 100644 src/Atc.Rest.ApiGenerator/Options/ApiOptionsGeneratorClient.cs diff --git a/src/Atc.CodeGeneration.CSharp/Content/Generators/Internal/GenerateContentWriter.cs b/src/Atc.CodeGeneration.CSharp/Content/Generators/Internal/GenerateContentWriter.cs index 6f1d2108..c0656c74 100644 --- a/src/Atc.CodeGeneration.CSharp/Content/Generators/Internal/GenerateContentWriter.cs +++ b/src/Atc.CodeGeneration.CSharp/Content/Generators/Internal/GenerateContentWriter.cs @@ -212,7 +212,8 @@ public string GenerateProperty( { if (!parameters.IsGenericListType && parameters.TypeName.Equals("string", StringComparison.Ordinal) && - !parameters.DefaultValue.Equals("null", StringComparison.Ordinal)) + !parameters.DefaultValue.Equals("null", StringComparison.Ordinal) && + !parameters.DefaultValue.Equals("string.Empty", StringComparison.Ordinal)) { sb.Append($" = \"{parameters.DefaultValue}\";"); } diff --git a/src/Atc.Rest.ApiGenerator.CLI/ApiOptionsHelper.cs b/src/Atc.Rest.ApiGenerator.CLI/ApiOptionsHelper.cs index 00acfe28..b0e2d4df 100644 --- a/src/Atc.Rest.ApiGenerator.CLI/ApiOptionsHelper.cs +++ b/src/Atc.Rest.ApiGenerator.CLI/ApiOptionsHelper.cs @@ -27,6 +27,7 @@ public static async Task CreateDefault( var options = await CreateDefault(optionsPath); ApplyValidationOverrides(options, settings); + ApplyGeneratorOverrides(options, settings); return options; } @@ -51,14 +52,14 @@ public static async Task CreateDefault( { ArgumentNullException.ThrowIfNull(optionsPath); + var options = new ApiOptions(); + var fileInfo = GetOptionsFile(optionsPath); if (fileInfo.Exists) { - return (false, "File already exist"); + options = await FileHelper.ReadJsonFileAndDeserializeAsync(fileInfo) ?? new ApiOptions(); } - var options = new ApiOptions(); - await FileHelper.WriteModelToJsonFileAsync(fileInfo, options); return (true, string.Empty); } @@ -74,10 +75,17 @@ public static async Task CreateDefault( return (false, "File does not exist"); } - var options = await FileHelper.ReadJsonFileAndDeserializeAsync(fileInfo); - return options is null - ? (false, "File is invalid") - : (true, string.Empty); + try + { + var options = await FileHelper.ReadJsonFileAndDeserializeAsync(fileInfo); + return options is null + ? (false, "File is invalid") + : (true, string.Empty); + } + catch (Exception ex) + { + return (false, $"File is invalid: {ex.Message}"); + } } private static FileInfo GetOptionsFile( @@ -116,67 +124,89 @@ private static void ApplyValidationOverrides( { apiOptions.Validation.ModelPropertyNameCasingStyle = settings.ModelPropertyNameCasingStyle.Value; } + } + + private static void ApplyGeneratorOverrides( + ApiOptions apiOptions, + BaseConfigurationCommandSettings settings) + { + if (settings is BaseServerCommandSettings serverSettings) + { + if (serverSettings.AspNetOutputType.IsSet) + { + apiOptions.Generator.AspNetOutputType = serverSettings.AspNetOutputType.Value; + } + + if (serverSettings.SwaggerThemeMode.IsSet) + { + apiOptions.Generator.SwaggerThemeMode = serverSettings.SwaggerThemeMode.Value; + } + + if (serverSettings.UseProblemDetailsAsDefaultResponseBody) + { + apiOptions.Generator.Response.UseProblemDetailsAsDefaultBody = serverSettings.UseProblemDetailsAsDefaultResponseBody; + } + + if (serverSettings.ProjectPrefixName is not null) + { + apiOptions.Generator.ProjectName = serverSettings.ProjectPrefixName + .Replace(" ", ".", StringComparison.Ordinal) + .Replace("-", ".", StringComparison.Ordinal) + .Trim(); + } + + apiOptions.Generator.RemoveNamespaceGroupSeparatorInGlobalUsings = serverSettings.RemoveNamespaceGroupSeparatorInGlobalUsings; + } switch (settings) { - case ServerAllCommandSettings serverAllCommandSettings: + case ClientApiCommandSettings clientApiCommandSettings: { - if (serverAllCommandSettings.AspNetOutputType.IsSet) + if (clientApiCommandSettings.UseProblemDetailsAsDefaultResponseBody) { - apiOptions.Generator.AspNetOutputType = serverAllCommandSettings.AspNetOutputType.Value; + apiOptions.Generator.Response.UseProblemDetailsAsDefaultBody = clientApiCommandSettings.UseProblemDetailsAsDefaultResponseBody; } - if (serverAllCommandSettings.SwaggerThemeMode.IsSet) + if (clientApiCommandSettings.ProjectPrefixName is not null) { - apiOptions.Generator.SwaggerThemeMode = serverAllCommandSettings.SwaggerThemeMode.Value; + apiOptions.Generator.ProjectName = clientApiCommandSettings.ProjectPrefixName; } - if (serverAllCommandSettings.UseProblemDetailsAsDefaultResponseBody) - { - apiOptions.Generator.Response.UseProblemDetailsAsDefaultBody = serverAllCommandSettings.UseProblemDetailsAsDefaultResponseBody; - } + apiOptions.Generator.RemoveNamespaceGroupSeparatorInGlobalUsings = clientApiCommandSettings.RemoveNamespaceGroupSeparatorInGlobalUsings; - break; - } - case ServerHostCommandSettings serverHostCommandSettings: - { - if (serverHostCommandSettings.AspNetOutputType.IsSet) + if (string.IsNullOrEmpty(apiOptions.Generator.ProjectSuffixName)) { - apiOptions.Generator.AspNetOutputType = serverHostCommandSettings.AspNetOutputType.Value; + apiOptions.Generator.ProjectSuffixName = "ApiClient.Generated"; } - - if (serverHostCommandSettings.SwaggerThemeMode.IsSet) + else { - apiOptions.Generator.SwaggerThemeMode = serverHostCommandSettings.SwaggerThemeMode.Value; + apiOptions.Generator.ProjectSuffixName = apiOptions.Generator.ProjectSuffixName + .Replace(" ", ".", StringComparison.Ordinal) + .Replace("-", ".", StringComparison.Ordinal) + .Trim(); } - if (serverHostCommandSettings.UseProblemDetailsAsDefaultResponseBody) + apiOptions.Generator.Client ??= new ApiOptionsGeneratorClient(); + + if (clientApiCommandSettings.ClientFolderName is not null && + clientApiCommandSettings.ClientFolderName.IsSet) { - apiOptions.Generator.Response.UseProblemDetailsAsDefaultBody = serverHostCommandSettings.UseProblemDetailsAsDefaultResponseBody; + apiOptions.Generator.Client.FolderName = clientApiCommandSettings.ClientFolderName.Value; } - break; - } - case ServerApiCommandSettings serverApiCommandSettings: - { - if (serverApiCommandSettings.UseProblemDetailsAsDefaultResponseBody) + if (clientApiCommandSettings.HttpClientName is not null && + clientApiCommandSettings.HttpClientName.IsSet) { - apiOptions.Generator.Response.UseProblemDetailsAsDefaultBody = serverApiCommandSettings.UseProblemDetailsAsDefaultResponseBody; + apiOptions.Generator.Client.HttpClientName = clientApiCommandSettings.HttpClientName.Value; } - - break; - } - case ServerDomainCommandSettings: - { - break; - } - case ClientApiCommandSettings clientApiCommandSettings: - { - if (clientApiCommandSettings.UseProblemDetailsAsDefaultResponseBody) + else { - apiOptions.Generator.Response.UseProblemDetailsAsDefaultBody = clientApiCommandSettings.UseProblemDetailsAsDefaultResponseBody; + var baseGenerateCommandSettings = (BaseGenerateCommandSettings)settings; + apiOptions.Generator.Client.HttpClientName = $"{baseGenerateCommandSettings.ProjectPrefixName}-ApiClient"; } + apiOptions.Generator.Client.ExcludeEndpointGeneration = clientApiCommandSettings.ExcludeEndpointGeneration; + break; } } diff --git a/src/Atc.Rest.ApiGenerator.CLI/Commands/GenerateClientCSharpCommand.cs b/src/Atc.Rest.ApiGenerator.CLI/Commands/GenerateClientCSharpCommand.cs index 46f9615b..7842ef9e 100644 --- a/src/Atc.Rest.ApiGenerator.CLI/Commands/GenerateClientCSharpCommand.cs +++ b/src/Atc.Rest.ApiGenerator.CLI/Commands/GenerateClientCSharpCommand.cs @@ -49,10 +49,6 @@ private async Task ExecuteInternalAsync( var shouldScaffoldCodingRules = CodingRulesHelper.ShouldScaffoldCodingRules(settings.OutputPath, settings.DisableCodingRules); var isUsingCodingRules = CodingRulesHelper.IsUsingCodingRules(settings.OutputPath, settings.DisableCodingRules); - var httpClientName = settings.HttpClientName is not null && settings.HttpClientName.IsSet - ? settings.HttpClientName.Value - : null; - if (shouldScaffoldCodingRules && !NetworkInformationHelper.HasHttpConnection()) { @@ -74,15 +70,10 @@ private async Task ExecuteInternalAsync( loggerFactory, apiOperationExtractor, nugetPackageReferenceProvider, - settings.ProjectPrefixName, - httpClientName, - settings.ClientFolderName is not null && settings.ClientFolderName.IsSet ? settings.ClientFolderName.Value : string.Empty, new DirectoryInfo(settings.OutputPath), apiDocumentContainer, - settings.ExcludeEndpointGeneration, apiOptions, - isUsingCodingRules, - settings.RemoveNamespaceGroupSeparatorInGlobalUsings)) + isUsingCodingRules)) { return ConsoleExitStatusCodes.Failure; } diff --git a/src/Atc.Rest.ApiGenerator.Client.CSharp/ContentGenerators/ContentGeneratorClientEndpoint.cs b/src/Atc.Rest.ApiGenerator.Client.CSharp/ContentGenerators/ContentGeneratorClientEndpoint.cs index e5e484ca..d8bd1696 100644 --- a/src/Atc.Rest.ApiGenerator.Client.CSharp/ContentGenerators/ContentGeneratorClientEndpoint.cs +++ b/src/Atc.Rest.ApiGenerator.Client.CSharp/ContentGenerators/ContentGeneratorClientEndpoint.cs @@ -10,19 +10,22 @@ public class ContentGeneratorClientEndpoint : IContentGenerator private readonly CodeDocumentationTagsGenerator codeDocumentationTagsGenerator; private readonly ContentGeneratorClientEndpointParameters parameters; private readonly bool useProblemDetailsAsDefaultResponseBody; + private readonly string? customErrorResponseModel; public ContentGeneratorClientEndpoint( GeneratedCodeHeaderGenerator codeHeaderGenerator, GeneratedCodeAttributeGenerator codeAttributeGenerator, CodeDocumentationTagsGenerator codeDocumentationTagsGenerator, ContentGeneratorClientEndpointParameters parameters, - bool useProblemDetailsAsDefaultResponseBody) + bool useProblemDetailsAsDefaultResponseBody, + string? customErrorResponseModel) { this.codeHeaderGenerator = codeHeaderGenerator; this.codeAttributeGenerator = codeAttributeGenerator; this.codeDocumentationTagsGenerator = codeDocumentationTagsGenerator; this.parameters = parameters; this.useProblemDetailsAsDefaultResponseBody = useProblemDetailsAsDefaultResponseBody; + this.customErrorResponseModel = customErrorResponseModel; } public string Generate() @@ -115,7 +118,15 @@ public string Generate() AppendAddSuccessResponseForStatusCodeOk(sb, responseModel); break; case HttpStatusCode.BadRequest: - sb.AppendLine(8, $"responseBuilder.AddErrorResponse(HttpStatusCode.{responseModel.StatusCode.ToNormalizedString()});"); + if (string.IsNullOrEmpty(customErrorResponseModel)) + { + sb.AppendLine(8, $"responseBuilder.AddErrorResponse(HttpStatusCode.{responseModel.StatusCode.ToNormalizedString()});"); + } + else + { + sb.AppendLine(8, $"responseBuilder.AddErrorResponse<{customErrorResponseModel}>(HttpStatusCode.{responseModel.StatusCode.ToNormalizedString()});"); + } + break; case HttpStatusCode.Continue: case HttpStatusCode.SwitchingProtocols: @@ -176,11 +187,19 @@ public string Generate() case HttpStatusCode.LoopDetected: case HttpStatusCode.NotExtended: case HttpStatusCode.NetworkAuthenticationRequired: - sb.AppendLine( - 8, - useProblemDetailsAsDefaultResponseBody - ? $"responseBuilder.AddErrorResponse(HttpStatusCode.{responseModel.StatusCode});" - : $"responseBuilder.AddErrorResponse(HttpStatusCode.{responseModel.StatusCode});"); + if (string.IsNullOrEmpty(customErrorResponseModel)) + { + sb.AppendLine( + 8, + useProblemDetailsAsDefaultResponseBody + ? $"responseBuilder.AddErrorResponse(HttpStatusCode.{responseModel.StatusCode});" + : $"responseBuilder.AddErrorResponse(HttpStatusCode.{responseModel.StatusCode});"); + } + else + { + sb.AppendLine(8, $"responseBuilder.AddErrorResponse<{customErrorResponseModel}>(HttpStatusCode.{responseModel.StatusCode});"); + } + break; default: sb.AppendLine(4, $"// TODO: Not Implemented for {responseModel.StatusCode}."); diff --git a/src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs b/src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs index 7b83820e..014914bb 100644 --- a/src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs +++ b/src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs @@ -16,6 +16,7 @@ public class ClientCSharpApiGenerator : IClientCSharpApiGenerator private readonly AttributeParameters codeGeneratorAttribute; private readonly bool useProblemDetailsAsDefaultResponseBody; private readonly bool includeDeprecated; + private readonly CustomErrorResponseModel? customErrorResponseModel; public ClientCSharpApiGenerator( ILoggerFactory loggerFactory, @@ -26,7 +27,8 @@ public ClientCSharpApiGenerator( OpenApiDocument openApiDocument, IList operationSchemaMappings, bool useProblemDetailsAsDefaultResponseBody, - bool includeDeprecated) + bool includeDeprecated, + CustomErrorResponseModel? customErrorResponseModel) { ArgumentNullException.ThrowIfNull(loggerFactory); ArgumentNullException.ThrowIfNull(nugetPackageReferenceProvider); @@ -41,6 +43,7 @@ public ClientCSharpApiGenerator( this.apiGeneratorVersion = apiGeneratorVersion; this.projectName = projectName; this.projectPath = projectPath; + this.customErrorResponseModel = customErrorResponseModel; this.openApiDocument = openApiDocument; this.operationSchemaMappings = operationSchemaMappings; this.useProblemDetailsAsDefaultResponseBody = useProblemDetailsAsDefaultResponseBody; @@ -107,6 +110,8 @@ public async Task ScaffoldProjectFile() public void GenerateModels() { + GenerateCustomErrorResponseModel(customErrorResponseModel); + foreach (var apiGroupName in openApiDocument.GetApiGroupNames()) { var apiOperations = operationSchemaMappings @@ -252,7 +257,8 @@ public void GenerateEndpoints() new GeneratedCodeAttributeGenerator(new GeneratedCodeGeneratorParameters(apiGeneratorVersion)), new CodeDocumentationTagsGenerator(), endpointParameters, - useProblemDetailsAsDefaultResponseBody); + useProblemDetailsAsDefaultResponseBody, + customErrorResponseModel?.Name); var content = contentGenerator.Generate(); @@ -520,6 +526,37 @@ private void GenerateModel( content); } + private void GenerateCustomErrorResponseModel( + CustomErrorResponseModel? customErrorResponseModel) + { + if (customErrorResponseModel is null || + string.IsNullOrEmpty(customErrorResponseModel.Name)) + { + return; + } + + var fullNamespace = $"{projectName}.{ContentGeneratorConstants.Contracts}"; + + var parameters = ContentGeneratorServerClientModelParametersFactory.CreateForCustomErrorResponseModel( + codeGeneratorContentHeader, + fullNamespace, + codeGeneratorAttribute, + customErrorResponseModel); + + var contentGeneratorClass = new GenerateContentForClass( + new CodeDocumentationTagsGenerator(), + parameters); + + var content = contentGeneratorClass.Generate(); + + var contentWriter = new ContentWriter(logger); + contentWriter.Write( + projectPath, + projectPath.CombineFileInfo(ContentGeneratorConstants.Contracts, ContentGeneratorConstants.SpecialFolderSharedModels, $"{customErrorResponseModel.Name.EnsureFirstCharacterToUpper()}.cs"), + ContentWriterArea.Src, + content); + } + private static List GetDistinctApiOperationModels( List apiOperations) { diff --git a/src/Atc.Rest.ApiGenerator.Contracts/Models/CustomErrorResponseModel.cs b/src/Atc.Rest.ApiGenerator.Contracts/Models/CustomErrorResponseModel.cs new file mode 100644 index 00000000..d7f8b1b6 --- /dev/null +++ b/src/Atc.Rest.ApiGenerator.Contracts/Models/CustomErrorResponseModel.cs @@ -0,0 +1,14 @@ +namespace Atc.Rest.ApiGenerator.Contracts.Models; + +public class CustomErrorResponseModel +{ + public string Name { get; set; } = string.Empty; + + public string Description { get; set; } = string.Empty; + + [SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "OK - for binding.")] + public IDictionary Schema { get; set; } = new Dictionary(StringComparer.OrdinalIgnoreCase); + + public override string ToString() + => $"{nameof(Name)}: {Name}, {nameof(Description)}: {Description}, {nameof(Schema)}: {Schema}"; +} \ No newline at end of file diff --git a/src/Atc.Rest.ApiGenerator.Contracts/Models/CustomErrorResponseModelSchema.cs b/src/Atc.Rest.ApiGenerator.Contracts/Models/CustomErrorResponseModelSchema.cs new file mode 100644 index 00000000..a1be9eea --- /dev/null +++ b/src/Atc.Rest.ApiGenerator.Contracts/Models/CustomErrorResponseModelSchema.cs @@ -0,0 +1,11 @@ +namespace Atc.Rest.ApiGenerator.Contracts.Models; + +public class CustomErrorResponseModelSchema +{ + public string DataType { get; set; } = string.Empty; + + public string Description { get; set; } = string.Empty; + + public override string ToString() + => $"{nameof(DataType)}: {DataType}, {nameof(Description)}: {Description}"; +} \ No newline at end of file diff --git a/src/Atc.Rest.ApiGenerator.Framework/Factories/Parameters/ServerClient/ContentGeneratorServerClientModelParametersFactory.cs b/src/Atc.Rest.ApiGenerator.Framework/Factories/Parameters/ServerClient/ContentGeneratorServerClientModelParametersFactory.cs index f1a7f66d..76ef73ce 100644 --- a/src/Atc.Rest.ApiGenerator.Framework/Factories/Parameters/ServerClient/ContentGeneratorServerClientModelParametersFactory.cs +++ b/src/Atc.Rest.ApiGenerator.Framework/Factories/Parameters/ServerClient/ContentGeneratorServerClientModelParametersFactory.cs @@ -65,6 +65,88 @@ public static RecordsParameters CreateForRecord( Parameters: recordParameters); } + public static ClassParameters CreateForCustomErrorResponseModel( + string codeGeneratorContentHeader, + string fullNamespace, + AttributeParameters codeGeneratorAttribute, + CustomErrorResponseModel customErrorResponseModel) + { + ArgumentNullException.ThrowIfNull(customErrorResponseModel); + + var summery = "Represents an error response."; + var documentationTags = new CodeDocumentationTags(summery); + if (!string.IsNullOrEmpty(customErrorResponseModel.Description)) + { + documentationTags = new CodeDocumentationTags( + summary: customErrorResponseModel.Description, + parameters: null, + remark: null, + code: null, + example: null, + exceptions: null, + @return: null); + } + + var properties = new List(); + foreach (var schema in customErrorResponseModel.Schema) + { + CodeDocumentationTags? documentationTag = null; + + var dataType = string.Empty; + var isNullableType = false; + string? defaultValue = null; + + if (schema.Value.DataType.EndsWith('?')) + { + dataType = schema.Value.DataType.Replace("?", string.Empty, StringComparison.Ordinal); + isNullableType = true; + } + else + { + dataType = schema.Value.DataType; + if (dataType.Equals("string", StringComparison.OrdinalIgnoreCase)) + { + defaultValue = "string.Empty"; + } + } + + properties.Add( + new PropertyParameters( + documentationTag, + Attributes: null, + AccessModifiers.Public, + GenericTypeName: null, + TypeName: dataType, + IsNullableType: isNullableType, + Name: schema.Key.EnsureFirstCharacterToUpper(), + JsonName: null, + DefaultValue: defaultValue, + IsReferenceType: false, + IsGenericListType: false, + UseAutoProperty: true, + UseGet: true, + UseSet: true, + UseExpressionBody: false, + Content: null)); + } + + return new ClassParameters( + HeaderContent: null, + fullNamespace, + documentationTags, + new List { codeGeneratorAttribute }, + AccessModifiers.PublicClass, + ClassTypeName: customErrorResponseModel.Name.EnsureFirstCharacterToUpper(), + GenericTypeName: null, + InheritedClassTypeName: null, + InheritedGenericClassTypeName: null, + InheritedInterfaceTypeName: null, + Constructors: null, + Properties: properties, + Methods: null, + GenerateToStringMethod: true); + } + private static bool GetRequired( ICollection required, string name, @@ -361,13 +443,10 @@ private static List ExtractRecordParameterBaseParameter : openApiParameter.IsSimpleDataType() || openApiParameter.IsSchemaEnumOrPropertyEnum() || openApiParameter.IsFormatTypeBinary(); string? dataTypeForList = null; - if (hasAnyPropertiesAsArrayWithFormatTypeBinary) - { - dataTypeForList = dataType; - } - else if (useListForDataType && !string.IsNullOrEmpty(openApiParameter.Items.Title) && - openApiParameter.Default is null && - !GetRequired(apiSchemaModel.Required, apiSchema.Key, hasAnyPropertiesAsArrayWithFormatTypeBinary)) + if (hasAnyPropertiesAsArrayWithFormatTypeBinary || + (useListForDataType && !string.IsNullOrEmpty(openApiParameter.Items.Title) && + openApiParameter.Default is null && + !GetRequired(apiSchemaModel.Required, apiSchema.Key, hasAnyPropertiesAsArrayWithFormatTypeBinary))) { dataTypeForList = dataType; } diff --git a/src/Atc.Rest.ApiGenerator.Framework/Writers/ContentWriter.cs b/src/Atc.Rest.ApiGenerator.Framework/Writers/ContentWriter.cs index 050c303b..4fd9bf4d 100644 --- a/src/Atc.Rest.ApiGenerator.Framework/Writers/ContentWriter.cs +++ b/src/Atc.Rest.ApiGenerator.Framework/Writers/ContentWriter.cs @@ -96,16 +96,10 @@ private static string RemoveLastNewLineIfNeeded( FileInfo fileInfo, string text) { - if (fileInfo.Extension.Equals(".cs", StringComparison.OrdinalIgnoreCase) && - text.EndsWith("}" + Environment.NewLine, StringComparison.Ordinal)) + if ((fileInfo.Extension.Equals(".cs", StringComparison.OrdinalIgnoreCase) && text.EndsWith("}" + Environment.NewLine, StringComparison.Ordinal)) || + (fileInfo.Name.Equals("GlobalUsings.cs", StringComparison.Ordinal) && text.EndsWith(";" + Environment.NewLine, StringComparison.Ordinal))) { - // Trim last NewLine in in *.cs files - text = RemoveLastNewLine(text); - } - else if (fileInfo.Name.Equals("GlobalUsings.cs", StringComparison.Ordinal) && - text.EndsWith(";" + Environment.NewLine, StringComparison.Ordinal)) - { - // Trim last NewLine in in GlobalUsings.cs files + // Trim last NewLine in *.cs files or last NewLine in GlobalUsings.cs files text = RemoveLastNewLine(text); } diff --git a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiDocumentExtensions.cs b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiDocumentExtensions.cs index 9fc27d33..9816d24a 100644 --- a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiDocumentExtensions.cs +++ b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiDocumentExtensions.cs @@ -260,21 +260,52 @@ public static bool IsUsingRequiredForSystemTextJsonSerializationAndSystemRuntime continue; } + foreach (var apiParameter in apiPathPair.Value.Parameters) + { + if (apiParameter.IsSchemaEnumAndUseJsonString()) + { + return true; + } + } + foreach (var apiParameter in apiOperationPair.Value.Parameters) { - if (apiParameter.Schema.IsSchemaEnum()) + if (apiParameter.IsSchemaEnumAndUseJsonString()) { - foreach (var apiAny in apiParameter.Schema.Enum) + return true; + } + } + + foreach (var apiResponse in apiOperationPair.Value.Responses.Values) + { + foreach (var apiMediaType in apiResponse.Content.Values) + { + if (apiMediaType.IsSchemaEnumAndUseJsonString()) + { + return true; + } + + foreach (var propertyApiSchemaPair in apiMediaType.Schema.Properties) { - if (apiAny is not OpenApiString openApiString) + if (propertyApiSchemaPair.IsSchemaEnumAndUseJsonString()) { - continue; + return true; } - if ((!apiParameter.Schema.Type.Equals("string", StringComparison.Ordinal) && openApiString.Value.IsFirstCharacterLowerCase()) || - openApiString.Value.Contains('-', StringComparison.Ordinal)) + foreach (var oneOfApiSchema in propertyApiSchemaPair.Value.OneOf) { - return true; + if (oneOfApiSchema.IsSchemaEnumAndUseJsonString()) + { + return true; + } + + foreach (var oneOfPropertyApiSchemaPair in oneOfApiSchema.Properties) + { + if (oneOfPropertyApiSchemaPair.IsSchemaEnumAndUseJsonString()) + { + return true; + } + } } } } diff --git a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiKeyValuePairExtensions.cs b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiKeyValuePairExtensions.cs index 8fcdcce3..65dae797 100644 --- a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiKeyValuePairExtensions.cs +++ b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiKeyValuePairExtensions.cs @@ -7,6 +7,33 @@ public static bool IsTypeArray( this KeyValuePair value) => value.Value.IsTypeArray(); + public static bool IsSchemaEnum( + this KeyValuePair value) + => value.Value.IsSchemaEnum(); + + public static bool IsSchemaEnumAndUseJsonString( + this KeyValuePair value) + { + if (value.Value.IsSchemaEnum()) + { + foreach (var apiAny in value.Value.Enum) + { + if (apiAny is not OpenApiString openApiString) + { + continue; + } + + if ((!value.Value.Type.Equals("string", StringComparison.Ordinal) && openApiString.Value.IsFirstCharacterLowerCase()) || + openApiString.Value.Contains('-', StringComparison.Ordinal)) + { + return true; + } + } + } + + return false; + } + public static string GetFormattedKey( this KeyValuePair value) => value.Key.PascalCase(ApiOperationExtractor.ModelNameSeparators, removeSeparators: true); diff --git a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiMediaTypeExtensions.cs b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiMediaTypeExtensions.cs new file mode 100644 index 00000000..62d6de71 --- /dev/null +++ b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiMediaTypeExtensions.cs @@ -0,0 +1,26 @@ +namespace Atc.Rest.ApiGenerator.OpenApi.Extensions; + +public static class OpenApiMediaTypeExtensions +{ + public static bool IsSchemaEnumAndUseJsonString(this OpenApiMediaType apiMediaType) + { + if (apiMediaType.Schema.IsSchemaEnum()) + { + foreach (var apiAny in apiMediaType.Schema.Enum) + { + if (apiAny is not OpenApiString openApiString) + { + continue; + } + + if ((!apiMediaType.Schema.Type.Equals("string", StringComparison.Ordinal) && openApiString.Value.IsFirstCharacterLowerCase()) || + openApiString.Value.Contains('-', StringComparison.Ordinal)) + { + return true; + } + } + } + + return false; + } +} \ No newline at end of file diff --git a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiParameterExtensions.cs b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiParameterExtensions.cs index 4f78714e..f4304def 100644 --- a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiParameterExtensions.cs +++ b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiParameterExtensions.cs @@ -2,6 +2,28 @@ namespace Atc.Rest.ApiGenerator.OpenApi.Extensions; public static class OpenApiParameterExtensions { + public static bool IsSchemaEnumAndUseJsonString(this OpenApiParameter apiParameter) + { + if (apiParameter.Schema.IsSchemaEnum()) + { + foreach (var apiAny in apiParameter.Schema.Enum) + { + if (apiAny is not OpenApiString openApiString) + { + continue; + } + + if ((!apiParameter.Schema.Type.Equals("string", StringComparison.Ordinal) && openApiString.Value.IsFirstCharacterLowerCase()) || + openApiString.Value.Contains('-', StringComparison.Ordinal)) + { + return true; + } + } + } + + return false; + } + public static CodeDocumentationTags ExtractDocumentationTags( this OpenApiParameter apiParameter) { diff --git a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiSchemaExtensions.cs b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiSchemaExtensions.cs index 46165029..c8c4d7c0 100644 --- a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiSchemaExtensions.cs +++ b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/OpenApiSchemaExtensions.cs @@ -82,15 +82,15 @@ public static IDictionary GetPaginationParameters( } public static string? GetCollectionDataType( - this OpenApiSchema schema) + this OpenApiSchema apiSchema) { - if (schema.IsArray()) + if (apiSchema.IsArray()) { return NameConstants.List; } - if (schema.IsTypePagination() || - schema.IsTypeCustomPagination()) + if (apiSchema.IsTypePagination() || + apiSchema.IsTypeCustomPagination()) { return NameConstants.Pagination; } @@ -124,16 +124,16 @@ public static bool IsArray( apiSchema.Items?.Reference?.Id is not null; public static bool IsTypeCustomPagination( - this OpenApiSchema schema) + this OpenApiSchema apiSchema) { - ArgumentNullException.ThrowIfNull(schema); + ArgumentNullException.ThrowIfNull(apiSchema); - if (schema.AllOf.Count == 2) + if (apiSchema.AllOf.Count == 2) { - if (schema.AllOf[0].Reference?.Id is null && - schema.AllOf[1].Reference?.Id is not null) + if (apiSchema.AllOf[0].Reference?.Id is null && + apiSchema.AllOf[1].Reference?.Id is not null) { - var dataType = schema.AllOf[1].Reference?.Id.PascalCase(ApiOperationExtractor.ModelNameSeparators, removeSeparators: true); + var dataType = apiSchema.AllOf[1].Reference?.Id.PascalCase(ApiOperationExtractor.ModelNameSeparators, removeSeparators: true); if (dataType is not null && (dataType.Contains(NameConstants.Pagination, StringComparison.Ordinal) || dataType.Contains("Paginated", StringComparison.Ordinal))) @@ -142,10 +142,10 @@ public static bool IsTypeCustomPagination( } } - if (schema.AllOf[0].Reference?.Id is not null && - schema.AllOf[1].Reference?.Id is null) + if (apiSchema.AllOf[0].Reference?.Id is not null && + apiSchema.AllOf[1].Reference?.Id is null) { - var dataType = schema.AllOf[0].Reference?.Id.PascalCase(ApiOperationExtractor.ModelNameSeparators, removeSeparators: true); + var dataType = apiSchema.AllOf[0].Reference?.Id.PascalCase(ApiOperationExtractor.ModelNameSeparators, removeSeparators: true); if (dataType is not null && (dataType.Contains(NameConstants.Pagination, StringComparison.Ordinal) || dataType.Contains("Paginated", StringComparison.Ordinal))) @@ -158,6 +158,28 @@ public static bool IsTypeCustomPagination( return false; } + public static bool IsSchemaEnumAndUseJsonString(this OpenApiSchema apiSchema) + { + if (apiSchema.IsSchemaEnum()) + { + foreach (var apiAny in apiSchema.Enum) + { + if (apiAny is not OpenApiString openApiString) + { + continue; + } + + if ((!apiSchema.Type.Equals("string", StringComparison.Ordinal) && openApiString.Value.IsFirstCharacterLowerCase()) || + openApiString.Value.Contains('-', StringComparison.Ordinal)) + { + return true; + } + } + } + + return false; + } + public static CodeDocumentationTags ExtractDocumentationTags( this OpenApiSchema apiSchema, string? defaultSummary = null) diff --git a/src/Atc.Rest.ApiGenerator/Generators/ClientCSharpApiGenerator.cs b/src/Atc.Rest.ApiGenerator/Generators/ClientCSharpApiGenerator.cs index 5490edfe..65915a1e 100644 --- a/src/Atc.Rest.ApiGenerator/Generators/ClientCSharpApiGenerator.cs +++ b/src/Atc.Rest.ApiGenerator/Generators/ClientCSharpApiGenerator.cs @@ -32,11 +32,18 @@ public ClientCSharpApiGenerator( projectOptions.Document, operationSchemaMappings, projectOptions.ApiOptions.Generator.Response.UseProblemDetailsAsDefaultBody, - projectOptions.ApiOptions.Generator.IncludeDeprecated) + projectOptions.ApiOptions.Generator.IncludeDeprecated, + projectOptions.ApiOptions.Generator.Response.CustomErrorResponseModel); + + if (projectOptions.ApiOptions.Generator.Client is not null) { - HttpClientName = projectOptions.HttpClientName, - ClientFolderName = projectOptions.ClientFolderName, - }; + clientCSharpApiGenerator.HttpClientName = projectOptions.ApiOptions.Generator.Client.HttpClientName; + + if (!string.IsNullOrEmpty(projectOptions.ApiOptions.Generator.Client.FolderName)) + { + clientCSharpApiGenerator.ClientFolderName = projectOptions.ApiOptions.Generator.Client.FolderName; + } + } } public async Task Generate() @@ -49,7 +56,8 @@ public async Task Generate() clientCSharpApiGenerator.GenerateParameters(); - if (!projectOptions.ExcludeEndpointGeneration) + if (projectOptions.ApiOptions.Generator.Client is not null && + !projectOptions.ApiOptions.Generator.Client.ExcludeEndpointGeneration) { clientCSharpApiGenerator.GenerateEndpointInterfaces(); @@ -61,7 +69,7 @@ public async Task Generate() } clientCSharpApiGenerator.MaintainGlobalUsings( - projectOptions.RemoveNamespaceGroupSeparatorInGlobalUsings); + projectOptions.ApiOptions.Generator.RemoveNamespaceGroupSeparatorInGlobalUsings); return true; } diff --git a/src/Atc.Rest.ApiGenerator/GlobalUsings.cs b/src/Atc.Rest.ApiGenerator/GlobalUsings.cs index 8ebdc5bf..6ddf3edb 100644 --- a/src/Atc.Rest.ApiGenerator/GlobalUsings.cs +++ b/src/Atc.Rest.ApiGenerator/GlobalUsings.cs @@ -4,6 +4,7 @@ global using Atc.Helpers; global using Atc.Rest.ApiGenerator.Client.CSharp.ProjectGenerator; global using Atc.Rest.ApiGenerator.Contracts; +global using Atc.Rest.ApiGenerator.Contracts.Models; global using Atc.Rest.ApiGenerator.Contracts.Options; global using Atc.Rest.ApiGenerator.Framework.ProjectGenerator; global using Atc.Rest.ApiGenerator.Framework.Providers; diff --git a/src/Atc.Rest.ApiGenerator/Helpers/GenerateHelper.cs b/src/Atc.Rest.ApiGenerator/Helpers/GenerateHelper.cs index f42f79b0..f2ef8e41 100644 --- a/src/Atc.Rest.ApiGenerator/Helpers/GenerateHelper.cs +++ b/src/Atc.Rest.ApiGenerator/Helpers/GenerateHelper.cs @@ -205,34 +205,22 @@ public static bool GenerateServerCSharpClient( ILoggerFactory loggerFactory, IApiOperationExtractor apiOperationExtractor, INugetPackageReferenceProvider nugetPackageReferenceProvider, - string projectPrefixName, - string? httpClientName, - string? clientFolderName, DirectoryInfo outputPath, OpenApiDocumentContainer apiDocumentContainer, - bool excludeEndpointGeneration, ApiOptions apiOptions, - bool useCodingRules, - bool removeNamespaceGroupSeparatorInGlobalUsings) + bool useCodingRules) { ArgumentNullException.ThrowIfNull(loggerFactory); - ArgumentNullException.ThrowIfNull(projectPrefixName); ArgumentNullException.ThrowIfNull(outputPath); ArgumentNullException.ThrowIfNull(apiDocumentContainer); ArgumentNullException.ThrowIfNull(apiOptions); var clientCSharpApiProjectOptions = new ClientCSharpApiProjectOptions( outputPath, - clientFolderName, apiDocumentContainer.Document!, apiDocumentContainer.DocFile, - projectPrefixName, - "ApiClient.Generated", - httpClientName, - excludeEndpointGeneration, apiOptions, - useCodingRules, - removeNamespaceGroupSeparatorInGlobalUsings); + useCodingRules); var clientCSharpApiGenerator = new Generators.ClientCSharpApiGenerator(loggerFactory, apiOperationExtractor, nugetPackageReferenceProvider, clientCSharpApiProjectOptions); var generateResult = false; diff --git a/src/Atc.Rest.ApiGenerator/Models/ClientCSharpApiProjectOptions.cs b/src/Atc.Rest.ApiGenerator/Models/ClientCSharpApiProjectOptions.cs index 619723c4..dfea11c7 100644 --- a/src/Atc.Rest.ApiGenerator/Models/ClientCSharpApiProjectOptions.cs +++ b/src/Atc.Rest.ApiGenerator/Models/ClientCSharpApiProjectOptions.cs @@ -4,26 +4,21 @@ public class ClientCSharpApiProjectOptions { public ClientCSharpApiProjectOptions( DirectoryInfo projectSrcGeneratePath, - string? clientFolderName, OpenApiDocument openApiDocument, FileInfo openApiDocumentFile, - string projectPrefixName, - string projectSuffixName, - string? httpClientName, - bool excludeEndpointGeneration, ApiOptions apiOptions, - bool usingCodingRules, - bool removeNamespaceGroupSeparatorInGlobalUsings) + bool usingCodingRules) { ArgumentNullException.ThrowIfNull(projectSrcGeneratePath); + ArgumentNullException.ThrowIfNull(apiOptions); + + ProjectName = $"{apiOptions.Generator.ProjectName}.{apiOptions.Generator.ProjectSuffixName}"; - ProjectName = projectPrefixName ?? throw new ArgumentNullException(nameof(projectPrefixName)); PathForSrcGenerate = projectSrcGeneratePath.Name.StartsWith(ProjectName, StringComparison.OrdinalIgnoreCase) ? projectSrcGeneratePath.Parent! : projectSrcGeneratePath; ForClient = true; - ClientFolderName = clientFolderName; Document = openApiDocument ?? throw new ArgumentNullException(nameof(openApiDocument)); DocumentFile = openApiDocumentFile ?? throw new ArgumentNullException(nameof(openApiDocumentFile)); @@ -41,29 +36,15 @@ public ClientCSharpApiProjectOptions( ApiGeneratorVersion = apiGeneratorVersion!; ApiOptions = apiOptions; - ProjectName = projectPrefixName - .Replace(" ", ".", StringComparison.Ordinal) - .Replace("-", ".", StringComparison.Ordinal) - .Trim() + $".{projectSuffixName}"; - - HttpClientName = httpClientName ?? $"{projectPrefixName}-ApiClient"; PathForSrcGenerate = new DirectoryInfo(Path.Combine(PathForSrcGenerate.FullName, ProjectName)); ProjectSrcCsProj = new FileInfo(Path.Combine(PathForSrcGenerate.FullName, $"{ProjectName}.csproj")); - ApiGroupNames = openApiDocument.GetApiGroupNames(); - UsingCodingRules = usingCodingRules; - RemoveNamespaceGroupSeparatorInGlobalUsings = removeNamespaceGroupSeparatorInGlobalUsings; - ExcludeEndpointGeneration = excludeEndpointGeneration; } public bool UsingCodingRules { get; } - public bool RemoveNamespaceGroupSeparatorInGlobalUsings { get; } - - public bool UseNullableReferenceTypes { get; } = true; - public string ApiGeneratorName { get; } public Version ApiGeneratorVersion { get; } @@ -81,20 +62,12 @@ public string ProjectSrcCsProjDisplayLocation public bool ForClient { get; } - public string? ClientFolderName { get; } - public OpenApiDocument Document { get; } public FileInfo DocumentFile { get; } public string ProjectName { get; } - public string HttpClientName { get; set; } - - public IList ApiGroupNames { get; } - - public bool ExcludeEndpointGeneration { get; } - public override string ToString() - => $"{nameof(ApiGeneratorName)}: {ApiGeneratorName}, {nameof(ApiGeneratorVersion)}: {ApiGeneratorVersion}, {nameof(ApiGeneratorNameAndVersion)}: {ApiGeneratorNameAndVersion}, {nameof(ApiOptions)}: {ApiOptions}, {nameof(PathForSrcGenerate)}: {PathForSrcGenerate}, {nameof(ProjectSrcCsProj)}: {ProjectSrcCsProj}, {nameof(ForClient)}: {ForClient}, {nameof(ClientFolderName)}: {ClientFolderName}, {nameof(Document)}: {Document}, {nameof(DocumentFile)}: {DocumentFile}, {nameof(ProjectName)}: {ProjectName}, {nameof(HttpClientName)}: {HttpClientName}, {nameof(ApiGroupNames)}: {ApiGroupNames}, {nameof(ExcludeEndpointGeneration)}: {ExcludeEndpointGeneration}"; + => $"{nameof(ApiGeneratorName)}: {ApiGeneratorName}, {nameof(ApiGeneratorVersion)}: {ApiGeneratorVersion}, {nameof(ApiGeneratorNameAndVersion)}: {ApiGeneratorNameAndVersion}, {nameof(ApiOptions)}: {ApiOptions}, {nameof(PathForSrcGenerate)}: {PathForSrcGenerate}, {nameof(ProjectSrcCsProj)}: {ProjectSrcCsProj}, {nameof(ForClient)}: {ForClient}, {nameof(Document)}: {Document}, {nameof(DocumentFile)}: {DocumentFile}, {nameof(ProjectName)}: {ProjectName}"; } \ No newline at end of file diff --git a/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGenerator.cs b/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGenerator.cs index 95b0b54f..351b71be 100644 --- a/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGenerator.cs +++ b/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGenerator.cs @@ -10,7 +10,15 @@ public class ApiOptionsGenerator public bool IncludeDeprecated { get; set; } + public string ProjectName { get; set; } = string.Empty; + + public string ProjectSuffixName { get; set; } = string.Empty; + + public bool RemoveNamespaceGroupSeparatorInGlobalUsings { get; set; } + public ApiOptionsGeneratorRequest Request { get; set; } = new(); public ApiOptionsGeneratorResponse Response { get; set; } = new(); + + public ApiOptionsGeneratorClient? Client { get; set; } } \ No newline at end of file diff --git a/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGeneratorClient.cs b/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGeneratorClient.cs new file mode 100644 index 00000000..b2bbff90 --- /dev/null +++ b/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGeneratorClient.cs @@ -0,0 +1,10 @@ +namespace Atc.Rest.ApiGenerator.Options; + +public class ApiOptionsGeneratorClient +{ + public string FolderName { get; set; } = string.Empty; + + public bool ExcludeEndpointGeneration { get; set; } + + public string HttpClientName { get; set; } = "ApiClient"; +} \ No newline at end of file diff --git a/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGeneratorResponse.cs b/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGeneratorResponse.cs index 672993d4..c0c3ed7c 100644 --- a/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGeneratorResponse.cs +++ b/src/Atc.Rest.ApiGenerator/Options/ApiOptionsGeneratorResponse.cs @@ -3,4 +3,6 @@ namespace Atc.Rest.ApiGenerator.Options; public class ApiOptionsGeneratorResponse { public bool UseProblemDetailsAsDefaultBody { get; set; } + + public CustomErrorResponseModel? CustomErrorResponseModel { get; set; } } \ No newline at end of file From a079c783095d4dc535ecc39900cda495f8616e6c Mon Sep 17 00:00:00 2001 From: David Kallesen Date: Mon, 1 Jul 2024 20:55:04 +0200 Subject: [PATCH 3/9] feat: Add Senario/verify for MontaPartner-Client --- .../Atc.Rest.ApiGenerator.CLI.Tests.csproj | 3 + .../ScenarioIntegrationTestBase.cs | 29 +- .../MontaPartner/ApiGeneratorOptions.json | 53 + .../Scenarios/MontaPartner/MontaPartner.yaml | 14352 ++++++++++++++++ ...ithClientCredentialsParameters.verified.cs | 23 + ...okenWithRefreshTokenParameters.verified.cs | 23 + .../Contracts/Auth/Token.verified.cs | 42 + .../ChargeAuthToken.verified.cs | 102 + .../CreateChargeAuthToken.verified.cs | 85 + .../MontaPageChargeAuthTokenDto.verified.cs | 24 + .../PatchChargeAuthToken.verified.cs | 67 + ...BlockChargeAuthTokenParameters.verified.cs | 23 + ...reateChargeAuthTokenParameters.verified.cs | 23 + ...eleteChargeAuthTokenParameters.verified.cs | 23 + .../GetChargeAuthTokenParameters.verified.cs | 23 + .../GetChargeAuthTokensParameters.verified.cs | 40 + ...PatchChargeAuthTokenParameters.verified.cs | 26 + ...blockChargeAuthTokenParameters.verified.cs | 23 + .../ChargePointBrand.verified.cs | 45 + .../MontaPageChargePointBrandDto.verified.cs | 24 + .../GetChargePointBrandParameters.verified.cs | 23 + ...GetChargePointBrandsParameters.verified.cs | 35 + ...ntaPageChargePointConnectorDto.verified.cs | 24 + .../GetConnectorParameters.verified.cs | 23 + .../ChargePointIntegration.verified.cs | 67 + ...OrUpdateChargePointIntegration.verified.cs | 50 + ...aPageChargePointIntegrationDto.verified.cs | 24 + ...argePointIntegrationParameters.verified.cs | 23 + ...argePointIntegrationParameters.verified.cs | 23 + ...rgePointIntegrationsParameters.verified.cs | 36 + ...argePointIntegrationParameters.verified.cs | 23 + .../ChargePointModel.verified.cs | 54 + ...intModelDtoChargePointBrandDto.verified.cs | 29 + .../ChargePointModelFeature.verified.cs | 39 + .../MontaPageChargePointModelDto.verified.cs | 24 + .../GetChargePointModelParameters.verified.cs | 23 + ...GetChargePointModelsParameters.verified.cs | 40 + .../CreateChargePoint.verified.cs | 93 + .../ChargePoints/MapResult.verified.cs | 27 + .../MapResultChargePoint.verified.cs | 71 + .../ChargePoints/MapResultCluster.verified.cs | 26 + .../ChargePoints/MapResultSite.verified.cs | 64 + .../MontaPageChargePointDto.verified.cs | 24 + .../ChargePoints/PatchChargePoint.verified.cs | 73 + .../DeleteChargePointParameters.verified.cs | 23 + .../GetChargePointMapParameters.verified.cs | 47 + .../GetChargePointParameters.verified.cs | 23 + .../GetChargePointsParameters.verified.cs | 43 + .../PatchChargePointParameters.verified.cs | 26 + .../PostChargePointParameters.verified.cs | 23 + .../Contracts/Charges/Breakdown.verified.cs | 52 + .../Charges/BreakdownSummary.verified.cs | 48 + .../Contracts/Charges/Charge.verified.cs | 226 + .../Charges/ChargeAuthentication.verified.cs | 35 + .../Charges/ChargeBreakdown.verified.cs | 30 + .../Contracts/Charges/ChargeCost.verified.cs | 29 + .../Contracts/Charges/ChargePrice.verified.cs | 29 + .../Charges/ChargesInsight.verified.cs | 51 + .../Charges/ChargesInsightEntry.verified.cs | 24 + .../Charges/ChargesInsightSummary.verified.cs | 42 + .../Contracts/Charges/Component.verified.cs | 43 + .../Charges/DetailedBreakdown.verified.cs | 42 + .../Charges/GenericPaymentSession.verified.cs | 45 + .../Contracts/Charges/KwhPerHour.verified.cs | 29 + .../Charges/MontaPageChargeDto.verified.cs | 24 + .../Contracts/Charges/PatchCharge.verified.cs | 30 + .../Contracts/Charges/PayingTeam.verified.cs | 34 + .../Charges/PublicChargePoint.verified.cs | 68 + .../GetChargeBreakdownParameters.verified.cs | 23 + .../GetChargeParameters.verified.cs | 23 + .../GetChargesParameters.verified.cs | 50 + .../PatchChargeParameters.verified.cs | 26 + .../RestartChargeParameters.verified.cs | 23 + .../StartChargeParameters.verified.cs | 23 + .../StopChargeParameters.verified.cs | 23 + .../Charges/SimpleTeamMemberDto.verified.cs | 44 + .../Contracts/Charges/SponsorTeam.verified.cs | 29 + .../Charges/StartChargeRequest.verified.cs | 65 + .../Charges/StateOfCharge.verified.cs | 29 + .../Contracts/Countries/Country.verified.cs | 36 + .../Countries/MontaPageCountryDto.verified.cs | 24 + .../GetCountryParameters.verified.cs | 23 + .../CountryAreas/CountryArea.verified.cs | 44 + .../MontaPageCountryAreaDto.verified.cs | 24 + .../GetCountriesAreasParameters.verified.cs | 24 + .../GetCountryAreaParameters.verified.cs | 23 + .../Currencies/CurrencyDto3.verified.cs | 39 + .../Currencies/CurrencyDto4.verified.cs | 39 + .../MontaPageCurrencyDto.verified.cs | 24 + .../GetCurrenciesParameters.verified.cs | 32 + .../GetCurrencyParameters.verified.cs | 23 + .../ChargesInsightChargerReport.verified.cs | 41 + ...ghtChargerReportDtoConsumption.verified.cs | 30 + .../ChargesInsightDriverReport.verified.cs | 42 + ...ightDriverReportDtoConsumption.verified.cs | 60 + ...ChargesInsightChargerReportDto.verified.cs | 24 + ...eChargesInsightDriverReportDto.verified.cs | 24 + ...ChargesChargerReportParameters.verified.cs | 31 + ...sChargesDriverReportParameters.verified.cs | 33 + .../CreateInstallerJobDto.verified.cs | 34 + .../InstallerJobs/InstallerJob.verified.cs | 89 + .../InstallerJobTask.verified.cs | 74 + .../MontaPageInstallerJobDto.verified.cs | 24 + .../DeleteInstallerJobParameters.verified.cs | 23 + .../GetInstallerJobParameters.verified.cs | 23 + .../GetInstallerJobsParameters.verified.cs | 36 + .../PostInstallerJobParameters.verified.cs | 23 + .../MontaPageOperatorDto.verified.cs | 24 + .../GetOperatorParameters.verified.cs | 23 + .../GetOperatorsParameters.verified.cs | 24 + .../MontaPagePaymentTerminalDto.verified.cs | 24 + .../PaymentTerminal.verified.cs | 76 + .../GetPaymentTerminalParameters.verified.cs | 23 + .../GetPaymentTerminalsParameters.verified.cs | 36 + .../Plans/MontaPagePlanDto.verified.cs | 24 + .../Contracts/Plans/Plan.verified.cs | 105 + .../Contracts/Plans/PlanPrice.verified.cs | 31 + .../Plans/PlanServiceConfig.verified.cs | 23 + .../GetPlanParameters.verified.cs | 23 + .../GetPlansParameters.verified.cs | 30 + .../CreatePriceGroupTag.verified.cs | 40 + .../MontaPagePriceGroupTagDto.verified.cs | 24 + .../PatchPriceGroupTag.verified.cs | 38 + .../DeletePriceGroupTagParameters.verified.cs | 23 + .../GetPriceGroupTagParameters.verified.cs | 23 + .../GetPriceGroupTagsParameters.verified.cs | 24 + .../PatchPriceGroupTagParameters.verified.cs | 26 + .../PostPriceGroupTagParameters.verified.cs | 23 + .../PriceGroups/ApplyPriceGroup.verified.cs | 38 + .../CreateAdditionalPricingDto.verified.cs | 27 + .../CreateOrUpdatePriceGroupDto.verified.cs | 42 + .../CreateOrUpdatePricingDto.verified.cs | 96 + .../PriceGroups/MontaAppResponse.verified.cs | 45 + .../MontaAppResponseErrorDetail.verified.cs | 22 + ...ontaAppResponseErrorDetailBody.verified.cs | 21 + .../MontaPagePriceGroupDto.verified.cs | 24 + .../ApplyPriceGroupParameters.verified.cs | 27 + .../CreatePriceGroupParameters.verified.cs | 23 + .../DeletePriceGroupParameters.verified.cs | 23 + .../GetPriceGroupParameters.verified.cs | 23 + .../GetPriceGroupsParameters.verified.cs | 26 + ...SetDefaultPriceGroupParameters.verified.cs | 23 + .../UpdatePriceGroupParameters.verified.cs | 26 + .../Prices/PricesForecast.verified.cs | 33 + .../Prices/PricesForecastEntry.verified.cs | 36 + .../GetPricesForecastParameters.verified.cs | 28 + .../Contracts/Sites/CreateSite.verified.cs | 47 + .../Sites/MontaPageSiteDto.verified.cs | 24 + .../Contracts/Sites/PatchSite.verified.cs | 37 + .../DeleteSiteParameters.verified.cs | 23 + .../GetSiteParameters.verified.cs | 23 + .../GetSitesParameters.verified.cs | 52 + .../PatchSiteParameters.verified.cs | 26 + .../PostSiteParameters.verified.cs | 23 + .../Contracts/Sites/Site.verified.cs | 108 + .../CreateSponsoredChargePointDto.verified.cs | 50 + ...ntaPageSponsoredChargePointDto.verified.cs | 24 + .../PatchSponsoredChargePoint.verified.cs | 30 + ...SponsoredChargePointParameters.verified.cs | 23 + ...SponsoredChargePointParameters.verified.cs | 23 + ...ponsoredChargePointsParameters.verified.cs | 36 + ...SponsoredChargePointParameters.verified.cs | 29 + ...SponsoredChargePointParameters.verified.cs | 23 + .../SponsoredChargePoint.verified.cs | 63 + .../SponsoredChargePointData.verified.cs | 97 + ...ntaPageSubscriptionPurchaseDto.verified.cs | 24 + ...SubscriptionPurchaseParameters.verified.cs | 23 + ...ubscriptionPurchasesParameters.verified.cs | 34 + .../SubscriptionPurchase.verified.cs | 78 + .../ApproveSubscription.verified.cs | 23 + .../CreateSubscription.verified.cs | 51 + .../MontaPageSubscriptionDto.verified.cs | 24 + .../ApproveSubscriptionParameters.verified.cs | 26 + .../CreateSubscriptionParameters.verified.cs | 23 + .../DeleteSubscriptionParameters.verified.cs | 23 + .../GetSubscriptionParameters.verified.cs | 23 + .../GetSubscriptionsParameters.verified.cs | 36 + .../Contracts/Subscriptions/Unit.verified.cs | 23 + ...ateTariffPeriodGroupParameters.verified.cs | 23 + ...eteTariffPeriodGroupParameters.verified.cs | 23 + .../GetPeriodGroupParameters.verified.cs | 26 + .../GetPeriodGroupsParameters.verified.cs | 25 + ...ateTariffPeriodGroupParameters.verified.cs | 26 + .../TariffPeriodGroup.verified.cs | 46 + .../PageTariffRecurringPeriodDto.verified.cs | 23 + ...riffRecurringPeriodsParameters.verified.cs | 23 + ...ariffRecurringPeriodParameters.verified.cs | 23 + ...ariffRecurringPeriodParameters.verified.cs | 23 + ...riffRecurringPeriodsParameters.verified.cs | 36 + ...riffRecurringPeriodsParameters.verified.cs | 26 + .../TariffRecurringPeriod.verified.cs | 49 + ...ecurringPeriodCreateRequestDto.verified.cs | 53 + ...ecurringPeriodUpdateRequestDto.verified.cs | 37 + .../CreateTariffPricesRequest.verified.cs | 30 + .../Tariffs/CreateTariffRequest.verified.cs | 91 + .../Contracts/Tariffs/FullTariff.verified.cs | 29 + .../Tariffs/PairStringBigDecimal.verified.cs | 24 + .../Contracts/Tariffs/Price.verified.cs | 30 + .../Tariffs/PriceSpecification.verified.cs | 24 + .../CreateTariffParameters.verified.cs | 23 + .../CreateTariffPricesParameters.verified.cs | 26 + .../GetAllTariffsParameters.verified.cs | 50 + .../GetTariffParameters.verified.cs | 33 + .../UpdateTariffParameters.verified.cs | 26 + .../Contracts/Tariffs/TariffDto.verified.cs | 110 + .../Tariffs/UpdateTariffRequest.verified.cs | 91 + .../TeamMembers/CreateTeamMember.verified.cs | 95 + .../MontaPageTeamMemberDto.verified.cs | 24 + .../TeamMembers/PatchTeamMember.verified.cs | 67 + .../DeleteTeamMemberParameters.verified.cs | 23 + .../GetTeamMemberParameters.verified.cs | 23 + .../GetTeamMembersParameters.verified.cs | 57 + .../PatchTeamMemberParameters.verified.cs | 26 + .../PostTeamMemberParameters.verified.cs | 23 + ...sendTeamMemberInviteParameters.verified.cs | 23 + .../TeamMembers/TeamMemberDto.verified.cs | 137 + .../Contracts/Teams/CreateTeamDto.verified.cs | 84 + .../Teams/MontaPageTeamDto.verified.cs | 24 + .../Contracts/Teams/PatchTeam.verified.cs | 68 + .../DeleteTeamParameters.verified.cs | 23 + .../GetTeamParameters.verified.cs | 23 + .../GetTeamsParameters.verified.cs | 40 + .../PatchTeamParameters.verified.cs | 26 + .../PostTeamParameters.verified.cs | 23 + .../Contracts/Teams/Team.verified.cs | 101 + .../Teams/TeamDtoTeamAddressDto.verified.cs | 48 + .../MetadataDto.verified.cs | 23 + .../MontaPageWalletTransactionDto.verified.cs | 24 + .../OperatorAdjustmentTransaction.verified.cs | 55 + .../PatchWalletTransaction.verified.cs | 28 + ...GetWalletTransactionParameters.verified.cs | 23 + ...etWalletTransactionsParameters.verified.cs | 48 + .../PatchTransactionParameters.verified.cs | 26 + ...djustmentTransactionParameters.verified.cs | 23 + .../TeamOrOperator.verified.cs | 23 + .../WalletTransaction.verified.cs | 143 + .../Wallets/MontaPageWalletDto.verified.cs | 24 + .../GetWalletParameters.verified.cs | 23 + .../GetWalletsParameters.verified.cs | 34 + .../Contracts/Wallets/Wallet.verified.cs | 46 + .../Wallets/WalletDtoBalanceDto.verified.cs | 28 + .../MontaPageWebhookEntryDto.verified.cs | 24 + .../GetWebhookEntries1Parameters.verified.cs | 23 + .../GetWebhookEntriesParameters.verified.cs | 35 + .../UpdateWebhookConfigParameters.verified.cs | 23 + .../Webhooks/WebhookConfig.verified.cs | 39 + .../Webhooks/WebhookEntry.verified.cs | 55 + .../WebhookEntryErrorPayload.verified.cs | 28 + .../Webhooks/WebhookEntryPayload.verified.cs | 35 + .../AdditionalPricingType.verified.cs | 21 + .../ChargeAuthenticationType.verified.cs | 21 + ...ChargePointIntegrationStateDto.verified.cs | 30 + .../ChargePointIntegrationType.verified.cs | 27 + .../ChargePointState.verified.cs | 54 + .../ChargeStateDto.verified.cs | 51 + .../_EnumerationTypes/ChargeType.verified.cs | 24 + .../ChargesInsightEntryTypeDto.verified.cs | 30 + .../ChargesInsightTypeDto.verified.cs | 21 + .../ComponentMetadataDto.verified.cs | 33 + .../ComponentMetadataTypeDto.verified.cs | 33 + .../ComponentTypeDto.verified.cs | 54 + .../CountryAreaLevel.verified.cs | 27 + .../_EnumerationTypes/DayOfWeek.verified.cs | 22 + .../DriverReportDatesFilteredBy.verified.cs | 21 + .../ElectricCurrentType.verified.cs | 21 + .../KafkaEventType.verified.cs | 24 + .../MontaHttpStatus.verified.cs | 83 + .../OperatorRole.verified.cs | 21 + .../PaymentTerminalType.verified.cs | 21 + .../PlanApplicableFor.verified.cs | 24 + .../PlanApplicationAudience.verified.cs | 21 + .../PlanPriceModel.verified.cs | 21 + .../PlanServiceType.verified.cs | 21 + .../PriceGroupType.verified.cs | 36 + .../_EnumerationTypes/PricingType.verified.cs | 39 + ...SponsoredChargePointPayoutType.verified.cs | 24 + .../SubscriptionCustomerType.verified.cs | 27 + .../SubscriptionPurchaseTypeDto.verified.cs | 24 + .../SubscriptionState.verified.cs | 30 + .../TariffCustomerType.verified.cs | 21 + .../_EnumerationTypes/TariffType.verified.cs | 17 + .../TeamMemberAccess.verified.cs | 24 + .../TeamMemberRole.verified.cs | 24 + .../TeamMemberState.verified.cs | 36 + .../TeamTypeCreatable.verified.cs | 24 + .../TeamWalletChargePaymentType.verified.cs | 27 + .../VisibilityType.verified.cs | 21 + .../VisibilityType1.verified.cs | 21 + .../VisibilityType3.verified.cs | 21 + .../WalletTransactionGroup.verified.cs | 27 + ...WalletTransactionReferenceType.verified.cs | 32 + .../WalletTransactionState.verified.cs | 30 + .../WebhookEntryEventType.verified.cs | 48 + .../WebhookEntryPayloadEntityType.verified.cs | 45 + .../WebhookEntryStatus.verified.cs | 24 + .../_Shared/AdditionalPricing.verified.cs | 24 + .../Contracts/_Shared/Address.verified.cs | 52 + .../Contracts/_Shared/ChargePoint.verified.cs | 190 + .../_Shared/ChargePointConnector.verified.cs | 35 + .../_Shared/ChargePointDeeplinks.verified.cs | 38 + .../Contracts/_Shared/Consumer.verified.cs | 68 + .../Contracts/_Shared/Coordinates.verified.cs | 28 + .../CreatedOrUpdateAddress.verified.cs | 58 + .../Contracts/_Shared/Currency.verified.cs | 35 + .../_Shared/ErrorResponse.verified.cs | 22 + .../Contracts/_Shared/Location.verified.cs | 22 + .../Contracts/_Shared/Money.verified.cs | 34 + .../_Shared/MontaPageMeta.verified.cs | 33 + .../Contracts/_Shared/Operator.verified.cs | 45 + .../Contracts/_Shared/PriceGroup.verified.cs | 74 + .../_Shared/PriceGroupAppliedTo.verified.cs | 36 + .../_Shared/PriceGroupTag.verified.cs | 57 + .../Contracts/_Shared/Pricing.verified.cs | 107 + .../Contracts/_Shared/PublicUser.verified.cs | 30 + .../_Shared/Subscription.verified.cs | 113 + .../SubscriptionServiceConfig.verified.cs | 23 + ...nWithClientCredentialsEndpoint.verified.cs | 47 + ...lientCredentialsEndpointResult.verified.cs | 45 + ...sTokenWithRefreshTokenEndpoint.verified.cs | 47 + ...WithRefreshTokenEndpointResult.verified.cs | 45 + ...nWithClientCredentialsEndpoint.verified.cs | 27 + ...lientCredentialsEndpointResult.verified.cs | 29 + ...sTokenWithRefreshTokenEndpoint.verified.cs | 27 + ...WithRefreshTokenEndpointResult.verified.cs | 29 + .../BlockChargeAuthTokenEndpoint.verified.cs | 48 + ...kChargeAuthTokenEndpointResult.verified.cs | 53 + .../CreateChargeAuthTokenEndpoint.verified.cs | 48 + ...eChargeAuthTokenEndpointResult.verified.cs | 53 + .../DeleteChargeAuthTokenEndpoint.verified.cs | 49 + ...eChargeAuthTokenEndpointResult.verified.cs | 61 + .../GetChargeAuthTokenEndpoint.verified.cs | 49 + ...tChargeAuthTokenEndpointResult.verified.cs | 61 + .../GetChargeAuthTokensEndpoint.verified.cs | 50 + ...ChargeAuthTokensEndpointResult.verified.cs | 45 + .../IBlockChargeAuthTokenEndpoint.verified.cs | 27 + ...kChargeAuthTokenEndpointResult.verified.cs | 33 + ...ICreateChargeAuthTokenEndpoint.verified.cs | 27 + ...eChargeAuthTokenEndpointResult.verified.cs | 33 + ...IDeleteChargeAuthTokenEndpoint.verified.cs | 27 + ...eChargeAuthTokenEndpointResult.verified.cs | 37 + .../IGetChargeAuthTokenEndpoint.verified.cs | 27 + ...tChargeAuthTokenEndpointResult.verified.cs | 37 + .../IGetChargeAuthTokensEndpoint.verified.cs | 27 + ...ChargeAuthTokensEndpointResult.verified.cs | 29 + .../IPatchChargeAuthTokenEndpoint.verified.cs | 27 + ...hChargeAuthTokenEndpointResult.verified.cs | 33 + ...UnblockChargeAuthTokenEndpoint.verified.cs | 27 + ...kChargeAuthTokenEndpointResult.verified.cs | 33 + .../PatchChargeAuthTokenEndpoint.verified.cs | 49 + ...hChargeAuthTokenEndpointResult.verified.cs | 53 + ...UnblockChargeAuthTokenEndpoint.verified.cs | 48 + ...kChargeAuthTokenEndpointResult.verified.cs | 53 + .../GetChargePointBrandEndpoint.verified.cs | 49 + ...ChargePointBrandEndpointResult.verified.cs | 61 + .../GetChargePointBrandsEndpoint.verified.cs | 49 + ...hargePointBrandsEndpointResult.verified.cs | 45 + .../IGetChargePointBrandEndpoint.verified.cs | 27 + ...ChargePointBrandEndpointResult.verified.cs | 37 + .../IGetChargePointBrandsEndpoint.verified.cs | 27 + ...hargePointBrandsEndpointResult.verified.cs | 29 + .../GetConnectorEndpoint.verified.cs | 49 + .../GetConnectorEndpointResult.verified.cs | 61 + .../GetConnectorsEndpoint.verified.cs | 45 + .../GetConnectorsEndpointResult.verified.cs | 45 + .../IGetConnectorEndpoint.verified.cs | 27 + .../IGetConnectorEndpointResult.verified.cs | 37 + .../IGetConnectorsEndpoint.verified.cs | 25 + .../IGetConnectorsEndpointResult.verified.cs | 29 + ...ChargePointIntegrationEndpoint.verified.cs | 49 + ...PointIntegrationEndpointResult.verified.cs | 61 + ...ChargePointIntegrationEndpoint.verified.cs | 49 + ...PointIntegrationEndpointResult.verified.cs | 61 + ...hargePointIntegrationsEndpoint.verified.cs | 50 + ...ointIntegrationsEndpointResult.verified.cs | 45 + ...ChargePointIntegrationEndpoint.verified.cs | 27 + ...PointIntegrationEndpointResult.verified.cs | 37 + ...ChargePointIntegrationEndpoint.verified.cs | 27 + ...PointIntegrationEndpointResult.verified.cs | 37 + ...hargePointIntegrationsEndpoint.verified.cs | 27 + ...ointIntegrationsEndpointResult.verified.cs | 29 + ...ChargePointIntegrationEndpoint.verified.cs | 27 + ...PointIntegrationEndpointResult.verified.cs | 33 + ...ChargePointIntegrationEndpoint.verified.cs | 48 + ...PointIntegrationEndpointResult.verified.cs | 53 + .../GetChargePointModelEndpoint.verified.cs | 49 + ...ChargePointModelEndpointResult.verified.cs | 61 + .../GetChargePointModelsEndpoint.verified.cs | 50 + ...hargePointModelsEndpointResult.verified.cs | 45 + .../IGetChargePointModelEndpoint.verified.cs | 27 + ...ChargePointModelEndpointResult.verified.cs | 37 + .../IGetChargePointModelsEndpoint.verified.cs | 27 + ...hargePointModelsEndpointResult.verified.cs | 29 + .../DeleteChargePointEndpoint.verified.cs | 48 + ...eleteChargePointEndpointResult.verified.cs | 53 + .../GetChargePointEndpoint.verified.cs | 49 + .../GetChargePointEndpointResult.verified.cs | 61 + .../GetChargePointMapEndpoint.verified.cs | 55 + ...etChargePointMapEndpointResult.verified.cs | 45 + .../GetChargePointsEndpoint.verified.cs | 54 + .../GetChargePointsEndpointResult.verified.cs | 45 + .../IDeleteChargePointEndpoint.verified.cs | 27 + ...eleteChargePointEndpointResult.verified.cs | 33 + .../IGetChargePointEndpoint.verified.cs | 27 + .../IGetChargePointEndpointResult.verified.cs | 37 + .../IGetChargePointMapEndpoint.verified.cs | 27 + ...etChargePointMapEndpointResult.verified.cs | 29 + .../IGetChargePointsEndpoint.verified.cs | 27 + ...IGetChargePointsEndpointResult.verified.cs | 29 + .../IPatchChargePointEndpoint.verified.cs | 27 + ...PatchChargePointEndpointResult.verified.cs | 33 + .../IPostChargePointEndpoint.verified.cs | 27 + ...IPostChargePointEndpointResult.verified.cs | 33 + .../PatchChargePointEndpoint.verified.cs | 49 + ...PatchChargePointEndpointResult.verified.cs | 53 + .../PostChargePointEndpoint.verified.cs | 48 + .../PostChargePointEndpointResult.verified.cs | 53 + .../GetChargeBreakdownEndpoint.verified.cs | 48 + ...tChargeBreakdownEndpointResult.verified.cs | 53 + .../Charges/GetChargeEndpoint.verified.cs | 49 + .../GetChargeEndpointResult.verified.cs | 61 + .../Charges/GetChargesEndpoint.verified.cs | 58 + .../GetChargesEndpointResult.verified.cs | 45 + .../IGetChargeBreakdownEndpoint.verified.cs | 27 + ...tChargeBreakdownEndpointResult.verified.cs | 33 + .../Interfaces/IGetChargeEndpoint.verified.cs | 27 + .../IGetChargeEndpointResult.verified.cs | 37 + .../IGetChargesEndpoint.verified.cs | 27 + .../IGetChargesEndpointResult.verified.cs | 29 + .../IPatchChargeEndpoint.verified.cs | 27 + .../IPatchChargeEndpointResult.verified.cs | 33 + .../IRestartChargeEndpoint.verified.cs | 27 + .../IRestartChargeEndpointResult.verified.cs | 37 + .../IStartChargeEndpoint.verified.cs | 27 + .../IStartChargeEndpointResult.verified.cs | 33 + .../IStopChargeEndpoint.verified.cs | 27 + .../IStopChargeEndpointResult.verified.cs | 37 + .../Charges/PatchChargeEndpoint.verified.cs | 49 + .../PatchChargeEndpointResult.verified.cs | 53 + .../Charges/RestartChargeEndpoint.verified.cs | 49 + .../RestartChargeEndpointResult.verified.cs | 61 + .../Charges/StartChargeEndpoint.verified.cs | 48 + .../StartChargeEndpointResult.verified.cs | 53 + .../Charges/StopChargeEndpoint.verified.cs | 49 + .../StopChargeEndpointResult.verified.cs | 61 + .../GetCurrentConsumerEndpoint.verified.cs | 45 + ...tCurrentConsumerEndpointResult.verified.cs | 45 + .../IGetCurrentConsumerEndpoint.verified.cs | 25 + ...tCurrentConsumerEndpointResult.verified.cs | 29 + .../GetCountriesEndpoint.verified.cs | 45 + .../GetCountriesEndpointResult.verified.cs | 45 + .../Countries/GetCountryEndpoint.verified.cs | 47 + .../GetCountryEndpointResult.verified.cs | 45 + .../IGetCountriesEndpoint.verified.cs | 25 + .../IGetCountriesEndpointResult.verified.cs | 29 + .../IGetCountryEndpoint.verified.cs | 27 + .../IGetCountryEndpointResult.verified.cs | 29 + .../GetCountriesAreasEndpoint.verified.cs | 48 + ...etCountriesAreasEndpointResult.verified.cs | 53 + .../GetCountryAreaEndpoint.verified.cs | 48 + .../GetCountryAreaEndpointResult.verified.cs | 53 + .../IGetCountriesAreasEndpoint.verified.cs | 27 + ...etCountriesAreasEndpointResult.verified.cs | 33 + .../IGetCountryAreaEndpoint.verified.cs | 27 + .../IGetCountryAreaEndpointResult.verified.cs | 33 + .../GetCurrenciesEndpoint.verified.cs | 49 + .../GetCurrenciesEndpointResult.verified.cs | 45 + .../GetCurrencyEndpoint.verified.cs | 49 + .../GetCurrencyEndpointResult.verified.cs | 61 + .../IGetCurrenciesEndpoint.verified.cs | 27 + .../IGetCurrenciesEndpointResult.verified.cs | 29 + .../IGetCurrencyEndpoint.verified.cs | 27 + .../IGetCurrencyEndpointResult.verified.cs | 37 + ...tsChargesChargerReportEndpoint.verified.cs | 50 + ...gesChargerReportEndpointResult.verified.cs | 45 + ...htsChargesDriverReportEndpoint.verified.cs | 51 + ...rgesDriverReportEndpointResult.verified.cs | 45 + ...tsChargesChargerReportEndpoint.verified.cs | 27 + ...gesChargerReportEndpointResult.verified.cs | 29 + ...htsChargesDriverReportEndpoint.verified.cs | 27 + ...rgesDriverReportEndpointResult.verified.cs | 29 + .../DeleteInstallerJobEndpoint.verified.cs | 48 + ...leteInstallerJobEndpointResult.verified.cs | 53 + .../GetInstallerJobEndpoint.verified.cs | 49 + .../GetInstallerJobEndpointResult.verified.cs | 61 + .../GetInstallerJobsEndpoint.verified.cs | 51 + ...GetInstallerJobsEndpointResult.verified.cs | 45 + .../IDeleteInstallerJobEndpoint.verified.cs | 27 + ...leteInstallerJobEndpointResult.verified.cs | 33 + .../IGetInstallerJobEndpoint.verified.cs | 27 + ...IGetInstallerJobEndpointResult.verified.cs | 37 + .../IGetInstallerJobsEndpoint.verified.cs | 27 + ...GetInstallerJobsEndpointResult.verified.cs | 29 + .../IPostInstallerJobEndpoint.verified.cs | 27 + ...PostInstallerJobEndpointResult.verified.cs | 33 + .../PostInstallerJobEndpoint.verified.cs | 48 + ...PostInstallerJobEndpointResult.verified.cs | 53 + .../Operators/GetOperatorEndpoint.verified.cs | 48 + .../GetOperatorEndpointResult.verified.cs | 53 + .../GetOperatorsEndpoint.verified.cs | 48 + .../GetOperatorsEndpointResult.verified.cs | 45 + .../IGetOperatorEndpoint.verified.cs | 27 + .../IGetOperatorEndpointResult.verified.cs | 33 + .../IGetOperatorsEndpoint.verified.cs | 27 + .../IGetOperatorsEndpointResult.verified.cs | 29 + .../GetPaymentTerminalEndpoint.verified.cs | 49 + ...tPaymentTerminalEndpointResult.verified.cs | 61 + .../GetPaymentTerminalsEndpoint.verified.cs | 51 + ...PaymentTerminalsEndpointResult.verified.cs | 45 + .../IGetPaymentTerminalEndpoint.verified.cs | 27 + ...tPaymentTerminalEndpointResult.verified.cs | 37 + .../IGetPaymentTerminalsEndpoint.verified.cs | 27 + ...PaymentTerminalsEndpointResult.verified.cs | 29 + .../Plans/GetPlanEndpoint.verified.cs | 47 + .../Plans/GetPlanEndpointResult.verified.cs | 45 + .../Plans/GetPlansEndpoint.verified.cs | 48 + .../Plans/GetPlansEndpointResult.verified.cs | 45 + .../Interfaces/IGetPlanEndpoint.verified.cs | 27 + .../IGetPlanEndpointResult.verified.cs | 29 + .../Interfaces/IGetPlansEndpoint.verified.cs | 27 + .../IGetPlansEndpointResult.verified.cs | 29 + .../DeletePriceGroupTagEndpoint.verified.cs | 49 + ...etePriceGroupTagEndpointResult.verified.cs | 61 + .../GetPriceGroupTagEndpoint.verified.cs | 49 + ...GetPriceGroupTagEndpointResult.verified.cs | 61 + .../GetPriceGroupTagsEndpoint.verified.cs | 48 + ...etPriceGroupTagsEndpointResult.verified.cs | 45 + .../IDeletePriceGroupTagEndpoint.verified.cs | 27 + ...etePriceGroupTagEndpointResult.verified.cs | 37 + .../IGetPriceGroupTagEndpoint.verified.cs | 27 + ...GetPriceGroupTagEndpointResult.verified.cs | 37 + .../IGetPriceGroupTagsEndpoint.verified.cs | 27 + ...etPriceGroupTagsEndpointResult.verified.cs | 29 + .../IPatchPriceGroupTagEndpoint.verified.cs | 27 + ...tchPriceGroupTagEndpointResult.verified.cs | 37 + .../IPostPriceGroupTagEndpoint.verified.cs | 27 + ...ostPriceGroupTagEndpointResult.verified.cs | 37 + .../PatchPriceGroupTagEndpoint.verified.cs | 50 + ...tchPriceGroupTagEndpointResult.verified.cs | 61 + .../PostPriceGroupTagEndpoint.verified.cs | 49 + ...ostPriceGroupTagEndpointResult.verified.cs | 61 + .../ApplyPriceGroupEndpoint.verified.cs | 49 + .../ApplyPriceGroupEndpointResult.verified.cs | 53 + .../CreatePriceGroupEndpoint.verified.cs | 48 + ...CreatePriceGroupEndpointResult.verified.cs | 53 + .../DeletePriceGroupEndpoint.verified.cs | 48 + ...DeletePriceGroupEndpointResult.verified.cs | 53 + .../GetPriceGroupEndpoint.verified.cs | 47 + .../GetPriceGroupEndpointResult.verified.cs | 45 + .../GetPriceGroupsEndpoint.verified.cs | 47 + .../GetPriceGroupsEndpointResult.verified.cs | 45 + .../IApplyPriceGroupEndpoint.verified.cs | 27 + ...IApplyPriceGroupEndpointResult.verified.cs | 33 + .../ICreatePriceGroupEndpoint.verified.cs | 27 + ...CreatePriceGroupEndpointResult.verified.cs | 33 + .../IDeletePriceGroupEndpoint.verified.cs | 27 + ...DeletePriceGroupEndpointResult.verified.cs | 33 + .../IGetPriceGroupEndpoint.verified.cs | 27 + .../IGetPriceGroupEndpointResult.verified.cs | 29 + .../IGetPriceGroupsEndpoint.verified.cs | 27 + .../IGetPriceGroupsEndpointResult.verified.cs | 29 + .../ISetDefaultPriceGroupEndpoint.verified.cs | 27 + ...efaultPriceGroupEndpointResult.verified.cs | 33 + .../IUpdatePriceGroupEndpoint.verified.cs | 27 + ...UpdatePriceGroupEndpointResult.verified.cs | 33 + .../SetDefaultPriceGroupEndpoint.verified.cs | 48 + ...efaultPriceGroupEndpointResult.verified.cs | 53 + .../UpdatePriceGroupEndpoint.verified.cs | 49 + ...UpdatePriceGroupEndpointResult.verified.cs | 53 + .../GetPricesForecastEndpoint.verified.cs | 49 + ...etPricesForecastEndpointResult.verified.cs | 45 + .../IGetPricesForecastEndpoint.verified.cs | 27 + ...etPricesForecastEndpointResult.verified.cs | 29 + .../Sites/DeleteSiteEndpoint.verified.cs | 48 + .../DeleteSiteEndpointResult.verified.cs | 53 + .../Sites/GetSiteEndpoint.verified.cs | 49 + .../Sites/GetSiteEndpointResult.verified.cs | 61 + .../Sites/GetSitesEndpoint.verified.cs | 52 + .../Sites/GetSitesEndpointResult.verified.cs | 45 + .../IDeleteSiteEndpoint.verified.cs | 27 + .../IDeleteSiteEndpointResult.verified.cs | 33 + .../Interfaces/IGetSiteEndpoint.verified.cs | 27 + .../IGetSiteEndpointResult.verified.cs | 37 + .../Interfaces/IGetSitesEndpoint.verified.cs | 27 + .../IGetSitesEndpointResult.verified.cs | 29 + .../Interfaces/IPatchSiteEndpoint.verified.cs | 27 + .../IPatchSiteEndpointResult.verified.cs | 33 + .../Interfaces/IPostSiteEndpoint.verified.cs | 27 + .../IPostSiteEndpointResult.verified.cs | 33 + .../Sites/PatchSiteEndpoint.verified.cs | 49 + .../Sites/PatchSiteEndpointResult.verified.cs | 53 + .../Sites/PostSiteEndpoint.verified.cs | 48 + .../Sites/PostSiteEndpointResult.verified.cs | 53 + ...teSponsoredChargePointEndpoint.verified.cs | 48 + ...soredChargePointEndpointResult.verified.cs | 53 + ...etSponsoredChargePointEndpoint.verified.cs | 49 + ...soredChargePointEndpointResult.verified.cs | 61 + ...tSponsoredChargePointsEndpoint.verified.cs | 51 + ...oredChargePointsEndpointResult.verified.cs | 45 + ...teSponsoredChargePointEndpoint.verified.cs | 27 + ...soredChargePointEndpointResult.verified.cs | 33 + ...etSponsoredChargePointEndpoint.verified.cs | 27 + ...soredChargePointEndpointResult.verified.cs | 37 + ...tSponsoredChargePointsEndpoint.verified.cs | 27 + ...oredChargePointsEndpointResult.verified.cs | 29 + ...chSponsoredChargePointEndpoint.verified.cs | 27 + ...soredChargePointEndpointResult.verified.cs | 29 + ...stSponsoredChargePointEndpoint.verified.cs | 27 + ...soredChargePointEndpointResult.verified.cs | 33 + ...chSponsoredChargePointEndpoint.verified.cs | 48 + ...soredChargePointEndpointResult.verified.cs | 45 + ...stSponsoredChargePointEndpoint.verified.cs | 48 + ...soredChargePointEndpointResult.verified.cs | 53 + ...etSubscriptionPurchaseEndpoint.verified.cs | 47 + ...criptionPurchaseEndpointResult.verified.cs | 45 + ...tSubscriptionPurchasesEndpoint.verified.cs | 50 + ...riptionPurchasesEndpointResult.verified.cs | 45 + ...etSubscriptionPurchaseEndpoint.verified.cs | 27 + ...criptionPurchaseEndpointResult.verified.cs | 29 + ...tSubscriptionPurchasesEndpoint.verified.cs | 27 + ...riptionPurchasesEndpointResult.verified.cs | 29 + .../ApproveSubscriptionEndpoint.verified.cs | 48 + ...roveSubscriptionEndpointResult.verified.cs | 45 + .../CreateSubscriptionEndpoint.verified.cs | 47 + ...eateSubscriptionEndpointResult.verified.cs | 45 + .../DeleteSubscriptionEndpoint.verified.cs | 47 + ...leteSubscriptionEndpointResult.verified.cs | 45 + .../GetSubscriptionEndpoint.verified.cs | 47 + .../GetSubscriptionEndpointResult.verified.cs | 45 + .../GetSubscriptionsEndpoint.verified.cs | 51 + ...GetSubscriptionsEndpointResult.verified.cs | 45 + .../IApproveSubscriptionEndpoint.verified.cs | 27 + ...roveSubscriptionEndpointResult.verified.cs | 29 + .../ICreateSubscriptionEndpoint.verified.cs | 27 + ...eateSubscriptionEndpointResult.verified.cs | 29 + .../IDeleteSubscriptionEndpoint.verified.cs | 27 + ...leteSubscriptionEndpointResult.verified.cs | 29 + .../IGetSubscriptionEndpoint.verified.cs | 27 + ...IGetSubscriptionEndpointResult.verified.cs | 29 + .../IGetSubscriptionsEndpoint.verified.cs | 27 + ...GetSubscriptionsEndpointResult.verified.cs | 29 + ...reateTariffPeriodGroupEndpoint.verified.cs | 47 + ...ariffPeriodGroupEndpointResult.verified.cs | 45 + ...eleteTariffPeriodGroupEndpoint.verified.cs | 47 + ...ariffPeriodGroupEndpointResult.verified.cs | 45 + .../GetPeriodGroupEndpoint.verified.cs | 49 + .../GetPeriodGroupEndpointResult.verified.cs | 61 + .../GetPeriodGroupsEndpoint.verified.cs | 49 + .../GetPeriodGroupsEndpointResult.verified.cs | 61 + ...reateTariffPeriodGroupEndpoint.verified.cs | 27 + ...ariffPeriodGroupEndpointResult.verified.cs | 29 + ...eleteTariffPeriodGroupEndpoint.verified.cs | 27 + ...ariffPeriodGroupEndpointResult.verified.cs | 29 + .../IGetPeriodGroupEndpoint.verified.cs | 27 + .../IGetPeriodGroupEndpointResult.verified.cs | 37 + .../IGetPeriodGroupsEndpoint.verified.cs | 27 + ...IGetPeriodGroupsEndpointResult.verified.cs | 37 + ...pdateTariffPeriodGroupEndpoint.verified.cs | 27 + ...ariffPeriodGroupEndpointResult.verified.cs | 29 + ...pdateTariffPeriodGroupEndpoint.verified.cs | 48 + ...ariffPeriodGroupEndpointResult.verified.cs | 45 + ...TariffRecurringPeriodsEndpoint.verified.cs | 47 + ...RecurringPeriodsEndpointResult.verified.cs | 45 + ...eTariffRecurringPeriodEndpoint.verified.cs | 47 + ...fRecurringPeriodEndpointResult.verified.cs | 45 + ...tTariffRecurringPeriodEndpoint.verified.cs | 48 + ...fRecurringPeriodEndpointResult.verified.cs | 53 + ...TariffRecurringPeriodsEndpoint.verified.cs | 50 + ...RecurringPeriodsEndpointResult.verified.cs | 45 + ...TariffRecurringPeriodsEndpoint.verified.cs | 27 + ...RecurringPeriodsEndpointResult.verified.cs | 29 + ...eTariffRecurringPeriodEndpoint.verified.cs | 27 + ...fRecurringPeriodEndpointResult.verified.cs | 29 + ...tTariffRecurringPeriodEndpoint.verified.cs | 27 + ...fRecurringPeriodEndpointResult.verified.cs | 33 + ...TariffRecurringPeriodsEndpoint.verified.cs | 27 + ...RecurringPeriodsEndpointResult.verified.cs | 29 + ...TariffRecurringPeriodsEndpoint.verified.cs | 27 + ...RecurringPeriodsEndpointResult.verified.cs | 29 + ...TariffRecurringPeriodsEndpoint.verified.cs | 48 + ...RecurringPeriodsEndpointResult.verified.cs | 45 + .../Tariffs/CreateTariffEndpoint.verified.cs | 47 + .../CreateTariffEndpointResult.verified.cs | 45 + .../CreateTariffPricesEndpoint.verified.cs | 50 + ...eateTariffPricesEndpointResult.verified.cs | 61 + .../Tariffs/GetAllTariffsEndpoint.verified.cs | 54 + .../GetAllTariffsEndpointResult.verified.cs | 61 + .../Tariffs/GetTariffEndpoint.verified.cs | 51 + .../GetTariffEndpointResult.verified.cs | 61 + .../ICreateTariffEndpoint.verified.cs | 27 + .../ICreateTariffEndpointResult.verified.cs | 29 + .../ICreateTariffPricesEndpoint.verified.cs | 27 + ...eateTariffPricesEndpointResult.verified.cs | 37 + .../IGetAllTariffsEndpoint.verified.cs | 27 + .../IGetAllTariffsEndpointResult.verified.cs | 37 + .../Interfaces/IGetTariffEndpoint.verified.cs | 27 + .../IGetTariffEndpointResult.verified.cs | 37 + .../IUpdateTariffEndpoint.verified.cs | 27 + .../IUpdateTariffEndpointResult.verified.cs | 29 + .../Tariffs/UpdateTariffEndpoint.verified.cs | 48 + .../UpdateTariffEndpointResult.verified.cs | 45 + .../DeleteTeamMemberEndpoint.verified.cs | 48 + ...DeleteTeamMemberEndpointResult.verified.cs | 53 + .../GetTeamMemberEndpoint.verified.cs | 47 + .../GetTeamMemberEndpointResult.verified.cs | 45 + .../GetTeamMembersEndpoint.verified.cs | 57 + .../GetTeamMembersEndpointResult.verified.cs | 45 + .../IDeleteTeamMemberEndpoint.verified.cs | 27 + ...DeleteTeamMemberEndpointResult.verified.cs | 33 + .../IGetTeamMemberEndpoint.verified.cs | 27 + .../IGetTeamMemberEndpointResult.verified.cs | 29 + .../IGetTeamMembersEndpoint.verified.cs | 27 + .../IGetTeamMembersEndpointResult.verified.cs | 29 + .../IPatchTeamMemberEndpoint.verified.cs | 27 + ...IPatchTeamMemberEndpointResult.verified.cs | 29 + .../IPostTeamMemberEndpoint.verified.cs | 27 + .../IPostTeamMemberEndpointResult.verified.cs | 33 + ...ResendTeamMemberInviteEndpoint.verified.cs | 27 + ...TeamMemberInviteEndpointResult.verified.cs | 29 + .../PatchTeamMemberEndpoint.verified.cs | 48 + .../PatchTeamMemberEndpointResult.verified.cs | 45 + .../PostTeamMemberEndpoint.verified.cs | 48 + .../PostTeamMemberEndpointResult.verified.cs | 53 + ...ResendTeamMemberInviteEndpoint.verified.cs | 47 + ...TeamMemberInviteEndpointResult.verified.cs | 45 + .../Teams/DeleteTeamEndpoint.verified.cs | 48 + .../DeleteTeamEndpointResult.verified.cs | 53 + .../Teams/GetTeamEndpoint.verified.cs | 47 + .../Teams/GetTeamEndpointResult.verified.cs | 45 + .../Teams/GetTeamsEndpoint.verified.cs | 50 + .../Teams/GetTeamsEndpointResult.verified.cs | 45 + .../IDeleteTeamEndpoint.verified.cs | 27 + .../IDeleteTeamEndpointResult.verified.cs | 33 + .../Interfaces/IGetTeamEndpoint.verified.cs | 27 + .../IGetTeamEndpointResult.verified.cs | 29 + .../Interfaces/IGetTeamsEndpoint.verified.cs | 27 + .../IGetTeamsEndpointResult.verified.cs | 29 + .../Interfaces/IPatchTeamEndpoint.verified.cs | 27 + .../IPatchTeamEndpointResult.verified.cs | 33 + .../Interfaces/IPostTeamEndpoint.verified.cs | 27 + .../IPostTeamEndpointResult.verified.cs | 33 + .../Teams/PatchTeamEndpoint.verified.cs | 49 + .../Teams/PatchTeamEndpointResult.verified.cs | 53 + .../Teams/PostTeamEndpoint.verified.cs | 48 + .../Teams/PostTeamEndpointResult.verified.cs | 53 + .../GetWalletTransactionEndpoint.verified.cs | 49 + ...alletTransactionEndpointResult.verified.cs | 61 + .../GetWalletTransactionsEndpoint.verified.cs | 56 + ...lletTransactionsEndpointResult.verified.cs | 45 + .../IGetWalletTransactionEndpoint.verified.cs | 27 + ...alletTransactionEndpointResult.verified.cs | 37 + ...IGetWalletTransactionsEndpoint.verified.cs | 27 + ...lletTransactionsEndpointResult.verified.cs | 29 + .../IPatchTransactionEndpoint.verified.cs | 27 + ...PatchTransactionEndpointResult.verified.cs | 33 + ...rAdjustmentTransactionEndpoint.verified.cs | 27 + ...tmentTransactionEndpointResult.verified.cs | 33 + .../PatchTransactionEndpoint.verified.cs | 49 + ...PatchTransactionEndpointResult.verified.cs | 53 + ...rAdjustmentTransactionEndpoint.verified.cs | 48 + ...tmentTransactionEndpointResult.verified.cs | 53 + .../Wallets/GetWalletEndpoint.verified.cs | 49 + .../GetWalletEndpointResult.verified.cs | 61 + .../Wallets/GetWalletsEndpoint.verified.cs | 50 + .../GetWalletsEndpointResult.verified.cs | 45 + .../Interfaces/IGetWalletEndpoint.verified.cs | 27 + .../IGetWalletEndpointResult.verified.cs | 37 + .../IGetWalletsEndpoint.verified.cs | 27 + .../IGetWalletsEndpointResult.verified.cs | 29 + .../DeleteWebhookConfigEndpoint.verified.cs | 45 + ...eteWebhookConfigEndpointResult.verified.cs | 45 + .../GetWebhookConfigEndpoint.verified.cs | 46 + ...GetWebhookConfigEndpointResult.verified.cs | 53 + .../GetWebhookEntries1Endpoint.verified.cs | 48 + ...tWebhookEntries1EndpointResult.verified.cs | 53 + .../GetWebhookEntriesEndpoint.verified.cs | 49 + ...etWebhookEntriesEndpointResult.verified.cs | 45 + .../IDeleteWebhookConfigEndpoint.verified.cs | 25 + ...eteWebhookConfigEndpointResult.verified.cs | 29 + .../IGetWebhookConfigEndpoint.verified.cs | 25 + ...GetWebhookConfigEndpointResult.verified.cs | 33 + .../IGetWebhookEntries1Endpoint.verified.cs | 27 + ...tWebhookEntries1EndpointResult.verified.cs | 33 + .../IGetWebhookEntriesEndpoint.verified.cs | 27 + ...etWebhookEntriesEndpointResult.verified.cs | 29 + .../IUpdateWebhookConfigEndpoint.verified.cs | 27 + ...ateWebhookConfigEndpointResult.verified.cs | 29 + .../UpdateWebhookConfigEndpoint.verified.cs | 47 + ...ateWebhookConfigEndpointResult.verified.cs | 45 + .../GlobalUsings.verified.cs | 80 + .../ScenariosTests.cs | 69 +- 790 files changed, 44999 insertions(+), 27 deletions(-) create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/ApiGeneratorOptions.json create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/MontaPartner.yaml create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/Token.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Component.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/Country.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/Plan.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/Site.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/Team.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Address.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Location.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Money.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/GlobalUsings.verified.cs diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj b/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj index d874a0ef..89d0febd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj @@ -19,6 +19,7 @@ + @@ -31,6 +32,7 @@ + @@ -43,6 +45,7 @@ + diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenarioIntegrationTestBase.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenarioIntegrationTestBase.cs index f43c6019..4812fa6b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenarioIntegrationTestBase.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenarioIntegrationTestBase.cs @@ -54,18 +54,39 @@ public static FileInfo GetYamlSpecificationPath( }; } + public static FileInfo? GetApiGeneratorOptionsPath( + string scenarioPath) + { + var files = Directory.GetFiles(scenarioPath, "ApiGeneratorOptions.json"); + return files.Length switch + { + 0 => null, + > 1 => throw new NotSupportedException($"Too many ApiGeneratorOptions.json files found in path '{scenarioPath}'."), + _ => new FileInfo(files[0]), + }; + } + public static DirectoryInfo GetOutputPath( DirectoryInfo workingPath, DirectoryInfo scenario, AspNetOutputType? aspNetOutputType, - bool useProblemDetailsAsDefaultResponseBody) + bool useProblemDetailsAsDefaultResponseBody, + bool useCustomErrorResponseModel = false) { ArgumentNullException.ThrowIfNull(workingPath); ArgumentNullException.ThrowIfNull(scenario); - var suffix = useProblemDetailsAsDefaultResponseBody - ? "WithProblemDetails" - : "WithoutProblemDetails"; + var suffix = string.Empty; + if (useCustomErrorResponseModel) + { + suffix = "WithCustomErrorResponse"; + } + else + { + suffix = useProblemDetailsAsDefaultResponseBody + ? "WithProblemDetails" + : "WithoutProblemDetails"; + } if (aspNetOutputType is null) { diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/ApiGeneratorOptions.json b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/ApiGeneratorOptions.json new file mode 100644 index 00000000..3d253e02 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/ApiGeneratorOptions.json @@ -0,0 +1,53 @@ +{ + "generator": { + "aspNetOutputType": "Mvc", + "swaggerThemeMode": "None", + "useRestExtended": true, + "includeDeprecated": false, + "projectSuffixName": "", + "removeNamespaceGroupSeparatorInGlobalUsings": false, + "request": {}, + "response": { + "useProblemDetailsAsDefaultBody": false, + "customErrorResponseModel": { + "name": "ErrorResponse", + "description": "Represents an error response.", + "schema": { + "status": { + "dataType": "string?", + "description": "Gets or sets the status of the error." + }, + "message": { + "dataType": "string?", + "description": "Gets or sets the error message." + }, + "readableMessage": { + "dataType": "string?", + "description": "Gets or sets the readable message." + }, + "errorCode": { + "dataType": "string?", + "description": "Gets or sets the error code." + }, + "context": { + "dataType": "object?", + "description": "Gets or sets the context information." + } + } + } + }, + "client": { + "folderName": "", + "excludeEndpointGeneration": false, + "httpClientName": "MontaApiClient" + } + }, + "validation": { + "strictMode": false, + "operationIdValidation": false, + "operationIdCasingStyle": "CamelCase", + "modelNameCasingStyle": "PascalCase", + "modelPropertyNameCasingStyle": "CamelCase" + }, + "includeDeprecated": false +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/MontaPartner.yaml b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/MontaPartner.yaml new file mode 100644 index 00000000..2169418b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/MontaPartner.yaml @@ -0,0 +1,14352 @@ +openapi: 3.0.1 +info: + title: MONTA Partner API + description: "\n see https://docs.partner-api.monta.com\n " + contact: + name: Partner API Support + url: https://www.monta.com/uk/contact + email: partner-api@monta.com + version: 2024-01-18 +servers: +- url: https://partner-api.monta.com + description: Production +paths: + /api/v1/auth/me: + get: + tags: + - Authentication + summary: Obtain information about current API Consumer + description: "Deprecated, will be removed by 01.04.24, use `/api/v1/consumers/me`\ + \ instead." + operationId: get-auth-information + responses: + "200": + description: Successfully retrieved current consumer + content: + application/json: + schema: + $ref: '#/components/schemas/Consumer' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + deprecated: true + security: + - BearerAccessToken: [] + x-sunset: 2024-04-01 + /api/v1/auth/refresh: + post: + tags: + - Authentication + summary: Obtain your `accessToken` with a `refreshToken` + operationId: get-access-token-with-refresh-token + requestBody: + content: + application/json: + schema: + required: + - refreshToken + type: object + properties: + refreshToken: + type: string + required: true + responses: + "200": + description: Successfully refreshed access token + content: + application/json: + schema: + $ref: '#/components/schemas/Token' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + /api/v1/auth/token: + post: + tags: + - Authentication + summary: Obtain your `accessToken` + operationId: get-access-token-with-client-credentials + requestBody: + content: + application/json: + schema: + required: + - clientId + - clientSecret + type: object + properties: + clientId: + type: string + clientSecret: + type: string + required: true + responses: + "200": + description: Successfully created access token + content: + application/json: + schema: + $ref: '#/components/schemas/Token' + "401": + description: Consumer with provided credentials was not found + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Consumer with given `clientId` and `clientSecret` not found + errorCode: CONSUMER_NOT_FOUND + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + /api/v1/charge-auth-tokens: + get: + tags: + - Charge Auth Tokens + summary: Retrieve list of charge auth tokens. + description: "Required scope: `charge-auth-tokens:read`" + operationId: get-charge-auth-tokens + parameters: + - name: teamId + in: query + description: Filter to retrieve charges auth tokens with specified teamId + schema: + type: integer + format: int64 + - name: partnerExternalId + in: query + description: "Filter charge auth tokens by partnerExternalId, to filter only\ + \ resources without `partnerExternalId` *use* `partnerExternalId=\"\"`" + schema: + type: string + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + responses: + "200": + description: List of charge auth tokens that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargeAuthTokenDto_' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + post: + tags: + - Charge Auth Tokens + summary: Create a new charge auth token + description: "Required scope: `charge-auth-tokens:write`" + operationId: create-charge-auth-token + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateChargeAuthToken' + required: true + responses: + "201": + description: Charge Auth Token Created + content: + application/json: + schema: + $ref: '#/components/schemas/ChargeAuthToken' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-auth-tokens/{chargeAuthTokenId}: + get: + tags: + - Charge Auth Tokens + summary: Retrieve a charge auth token. + description: "Required scope: `charge-auth-tokens:read`" + operationId: get-charge-auth-token + parameters: + - name: chargeAuthTokenId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge Auth Token with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/ChargeAuthToken' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Charge Auth Tokens + summary: Deletes a charge auth token. + description: "Required scope: `charge-auth-tokens:delete`" + operationId: delete-charge-auth-token + parameters: + - name: chargeAuthTokenId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Deleted charge auth token successfully + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Charge Auth Tokens + summary: Patch an existing charge auth token + description: "Required scope: `charge-auth-tokens:write`" + operationId: patch-charge-auth-token + parameters: + - name: chargeAuthTokenId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchChargeAuthToken' + required: true + responses: + "200": + description: Charge auth token updated + content: + application/json: + schema: + $ref: '#/components/schemas/ChargeAuthToken' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-auth-tokens/{chargeAuthTokenId}/block: + post: + tags: + - Charge Auth Tokens + summary: Block a charge auth token + description: "Required scope: `charge-auth-tokens:write`" + operationId: block-charge-auth-token + parameters: + - name: chargeAuthTokenId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge auth token blocked + content: + application/json: + schema: + $ref: '#/components/schemas/ChargeAuthToken' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-auth-tokens/{chargeAuthTokenId}/unblock: + post: + tags: + - Charge Auth Tokens + summary: Unblock a charge auth token + description: "Required scope: `charge-auth-tokens:write`" + operationId: unblock-charge-auth-token + parameters: + - name: chargeAuthTokenId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge auth token unblocked + content: + application/json: + schema: + $ref: '#/components/schemas/ChargeAuthToken' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-point-brands: + get: + tags: + - Charge Point Brands + summary: Retrieve list of charge point brands. + operationId: get-charge-point-brands + parameters: + - name: search + in: query + description: Optional filter to search brands by name + schema: + type: string + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + responses: + "200": + description: List of charge point brands that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargePointBrandDto_' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + /api/v1/charge-point-brands/{chargePointBrandId}: + get: + tags: + - Charge Point Brands + summary: Retrieve a charge point brand. + operationId: get-charge-point-brand + parameters: + - name: chargePointBrandId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge Point Brand with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/ChargePointBrand' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-point-connectors: + get: + tags: + - Charge Point Connectors + summary: Retrieve a list of charge point connectors. + operationId: get-connectors + responses: + "200": + description: List of all charge point connectors + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargePointConnectorDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-point-connectors/{connectorId}: + get: + tags: + - Charge Point Connectors + summary: Retrieve a single charge point connector. + operationId: get-connector + parameters: + - name: connectorId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Connector with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/ChargePointConnector' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-point-integrations: + get: + tags: + - Charge Point Integrations + summary: Retrieve a list of charge points integrations + description: "Required scope: `charge-points:read`" + operationId: get-charge-point-integrations + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: chargePointId + in: query + required: true + schema: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Allows to filter list of charge points integrations by a charge + point id + format: int64 + example: 30 + - name: includeDeleted + in: query + schema: + required: + - "false" + type: boolean + description: Includes deleted resources in the response + nullable: true + example: true + responses: + "200": + description: List of charges points integrations that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargePointIntegrationDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + put: + tags: + - Charge Point Integrations + summary: Create or update a charge point integration + description: "Note: This endpoint will create or update an existing integration,meaning\ + \ that the existing integration will be replaced by a new one
Required\ + \ scope: `charge-points:write`" + operationId: post-or-put-charge-point-integration + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateOrUpdateChargePointIntegration' + required: true + responses: + "200": + description: Charge point integration created/updated + content: + application/json: + schema: + $ref: '#/components/schemas/ChargePointIntegration' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-point-integrations/{chargePointIntegrationId}: + get: + tags: + - Charge Point Integrations + summary: Retrieve a single charge point integration + description: "Required scope: `charge-points:read`" + operationId: get-charge-point-integration + parameters: + - name: chargePointIntegrationId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge point integration with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/ChargePointIntegration' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Charge Point Integrations + summary: Delete a charge point integration + description: "Required scope: `charge-points:delete`" + operationId: delete-charge-point-integration + parameters: + - name: chargePointIntegrationId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Charge point integration deleted + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-point-models: + get: + tags: + - Charge Point Models + summary: Retrieve list of charge point models. + operationId: get-charge-point-models + parameters: + - name: search + in: query + description: Optional filter to search models by model name or brand name + schema: + type: string + - name: brandId + in: query + description: Optional filter to filter models by `brandId` + schema: + type: integer + format: int64 + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + responses: + "200": + description: List of charge point models that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargePointModelDto_' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + /api/v1/charge-point-models/{chargePointModelId}: + get: + tags: + - Charge Point Models + summary: Retrieve a charge point model. + operationId: get-charge-point-model + parameters: + - name: chargePointModelId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge Point model with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/ChargePointModel' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-points: + get: + tags: + - Charge Points + summary: Retrieve a list of charge points. + description: "Required scope: `charge-points:read`" + operationId: get-charge-points + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: siteId + in: query + schema: + required: + - "false" + type: integer + description: Allows to filter list of charge points by a site id + format: int64 + nullable: true + example: 13 + - name: teamId + in: query + schema: + required: + - "false" + type: integer + description: Allows to filter list of charge points by a team id. + format: int64 + nullable: true + example: 19 + - name: partnerExternalId + in: query + schema: + required: + - "false" + type: string + description: "Filter charge points by partnerExternalId, to filter only\ + \ resources without `partnerExternalId` *use* `partnerExternalId=\"\"`" + nullable: true + example: "1" + - name: sortByLocation + in: query + schema: + pattern: "^(-?\\d*\\.\\d+|\\d+\\.\\d*)(,)(-?\\d*\\.\\d+|\\d+\\.\\d*)$" + required: + - "false" + type: string + description: "lat,long coordinates. If supplied, the Charge Points will\ + \ be sorted in nearest first order relativeto this point. (Format: 55.7096,12.5856,\ + \ -8.050000, -34.900002)" + nullable: true + example: "55.7096,12.5856" + - name: includeDeleted + in: query + schema: + required: + - "false" + type: boolean + description: Includes deleted resources in the response + nullable: true + example: false + - name: state + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/ChargePointState' + - description: Allows filtering charge points by their state + example: busy + responses: + "200": + description: List of charges points that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargePointDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Charge Points + summary: Create a charge point + description: "Required scope: `charge-points:write`" + operationId: post-charge-point + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateChargePoint' + required: true + responses: + "201": + description: Charge point created + content: + application/json: + schema: + $ref: '#/components/schemas/ChargePoint' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-points/map: + get: + tags: + - Charge Points + summary: Retrieve charge points / sites for map. + description: "Required scope: `map:read`" + operationId: get-charge-point-map + parameters: + - name: topLatitude + in: query + required: true + schema: + maximum: 90 + minimum: -90 + required: + - "true" + type: number + description: top (north) latitude value (between `-90`-`90`) + format: double + example: 90 + - name: rightLongitude + in: query + required: true + schema: + maximum: 180 + minimum: -180 + required: + - "true" + type: number + description: right (east) longitude value (between `-180`-`180`) + format: double + example: 180 + - name: bottomLatitude + in: query + required: true + schema: + maximum: 90 + minimum: -90 + required: + - "true" + type: number + description: bottom (south) latitude value (between `-90`-`90`) + format: double + example: -90 + - name: leftLongitude + in: query + required: true + schema: + maximum: 180 + minimum: -180 + required: + - "true" + type: number + description: left (west) longitude value (between `-180`-`180`) + format: double + example: -180 + - name: centerLatitude + in: query + required: true + schema: + maximum: 90 + minimum: -90 + required: + - "true" + type: number + description: latitude value of the center coordinate of your map (between + `-90`-`90`) + format: double + example: 90 + - name: centerLongitude + in: query + required: true + schema: + maximum: 180 + minimum: -180 + required: + - "true" + type: number + description: longitude value of the center coordinate of your map (between + `-180`-`180`) + format: double + example: 180 + - name: zoom + in: query + required: true + schema: + maximum: 15 + minimum: 1 + required: + - "true" + type: number + description: zoom level of the map (between `1`-`15`) + format: double + example: 1 + - name: includeBusy + in: query + required: true + schema: + required: + - "true" + type: boolean + description: "If true, busy charge points are returned as well. Otherwise,\ + \ only charge points that are active and not in use are returned." + nullable: true + example: true + default: true + - name: includeAllOperators + in: query + required: true + schema: + required: + - "true" + type: boolean + description: "If true, all public charge points are returned. Otherwise,\ + \ only charge points owned by the operator/teams matching the request\ + \ credentials." + nullable: true + example: false + default: false + responses: + "200": + description: List of charges points /sites that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MapResult' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charge-points/{chargePointId}: + get: + tags: + - Charge Points + summary: Retrieve a single charge point. + description: "Required scope: `charge-points:read`" + operationId: get-charge-point + parameters: + - name: chargePointId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge point with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/ChargePoint' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Charge Points + summary: Delete an existing charge point + description: "Required scope: `charge-points:delete`" + operationId: delete-charge-point + parameters: + - name: chargePointId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Charge point deleted + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Charge Points + summary: Patch an existing charge point + description: "Required scope: `charge-points:write`" + operationId: patch-charge-point + parameters: + - name: chargePointId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchChargePoint' + required: true + responses: + "200": + description: Charge point updated + content: + application/json: + schema: + $ref: '#/components/schemas/ChargePoint' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charges: + get: + tags: + - Charges + summary: Retrieve a list of charges. + description: "Required scope: `charge-transactions:read`" + operationId: get-charges + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: teamId + in: query + schema: + type: integer + description: Filter to retrieve charges with specified `teamId` + format: int64 + nullable: true + example: 13 + - name: chargePointId + in: query + schema: + type: integer + description: Filter to retrieve charges with specified `chargePointId` + format: int64 + nullable: true + example: 10 + - name: siteId + in: query + schema: + type: integer + description: Filter to retrieve charges with specified `siteId` + format: int64 + nullable: true + example: 5 + - name: state + in: query + schema: + type: string + description: Filter to retrieve charges by `state` + nullable: true + example: charging + enum: + - reserved + - starting + - charging + - stopping + - paused + - scheduled + - stopped + - completed + - name: fromDate + in: query + schema: + type: string + description: "Filter to retrieve charges where `createdAt` >= `fromDate`\ + \ (ISO8601: yyyy-MM-ddTHH:mm:ssZ)" + format: date-time + nullable: true + example: 2022-05-22T09:30:03Z + - name: toDate + in: query + schema: + type: string + description: "Filter to retrieve charges where `createdAt` <= `toDate` (ISO8601:\ + \ yyyy-MM-ddTHH:mm:ssZ)" + format: date-time + nullable: true + example: 2022-05-22T09:30:03Z + - name: chargeAuthType + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/ChargeAuthenticationType' + - description: "Filter to retrieve charges by the charge authentication\ + \ type, must be combined with `chargeAuthId`" + example: vehicleId + - name: chargeAuthId + in: query + schema: + type: string + description: "Filter to retrieve charges by the charge authentication id,\ + \ must be combined with `chargeAuthType`
*Note*: for type vehicleId\ + \ `chargeAuthId` must not include the VID: prefix" + nullable: true + example: 38C58DB85XXX + - name: partnerExternalId + in: query + schema: + type: string + description: "Filter charges by `partnerExternalId`, to filter only resources\ + \ without `partnerExternalId` *use* `partnerExternalId=\"\"`" + nullable: true + example: "10001" + - name: operatorRole + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/OperatorRole' + - description: Filter to indicate the desired role to list charges
e.g + owner will always deliver charges from the operator charge points
payer + will deliver charges paid by the operator + example: owner + default: owner + responses: + "200": + description: List of charges that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargeDto_' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + post: + tags: + - Charges + summary: Start a charge. + description: "Required scope: `control-charging:write`" + operationId: start-charge + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/StartChargeRequest' + required: true + responses: + "200": + description: Charge successfully started + content: + application/json: + schema: + $ref: '#/components/schemas/Charge' + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charges/insights: + get: + tags: + - Charges Insights + summary: Retrieve insights about charges. + description: |- + Required scope: `charge-transactions:read`. + **Deprecated, use `/insights/charges/driver-report` and `/insights/charges/charger-report` instead.** + operationId: get-charges-insights + parameters: + - name: fromDate + in: query + required: true + schema: + pattern: "^(\\d{4}-\\d{2}-\\d{2})$" + type: string + description: "Filter to retrieve charge insights created from date (YYYY-MM-DD),\ + \ we expect a date in UTC
The maximum gap between from and to data\ + \ cannot be longer than 31 days" + format: date + example: 2022-05-01 + - name: toDate + in: query + required: true + schema: + pattern: "^(\\d{4}-\\d{2}-\\d{2})$" + type: string + description: "Filter to retrieve charge insights created to date (YYYY-MM-DD),\ + \ we expect a date in UTC
The maximum gap between from and to data\ + \ cannot be longer than 31 days" + format: date + example: 2022-05-30 + - name: teamId + in: query + schema: + type: integer + description: Filter to retrieve charges insights by the specified `teamId` + format: int64 + nullable: true + example: 13 + - name: chargePointId + in: query + schema: + type: integer + description: Filter to retrieve charges insights by the specified `chargePointId` + format: int64 + nullable: true + example: 13 + - name: siteId + in: query + schema: + type: integer + description: Filter to retrieve charges insights by the specified `siteId` + format: int64 + nullable: true + example: 13 + - name: teamMemberId + in: query + schema: + type: integer + description: Filter to retrieve charges insights by the specified `teamMemberId` + format: int64 + nullable: true + example: 13 + responses: + "200": + description: Charge insights for the given filter + content: + application/json: + schema: + $ref: '#/components/schemas/ChargesInsight' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + deprecated: true + security: + - BearerAccessToken: [] + x-sunset: 2024-04-01 + /api/v1/charges/{chargeId}: + get: + tags: + - Charges + summary: Retrieve a single charge. + description: "Required scope: `charge-transactions:read`" + operationId: get-charge + parameters: + - name: chargeId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/Charge' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Charges + summary: Patch an existing charge + description: "Required scope: `charges:write`" + operationId: patch-charge + parameters: + - name: chargeId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchCharge' + required: true + responses: + "200": + description: Charge updated + content: + application/json: + schema: + $ref: '#/components/schemas/Charge' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charges/{chargeId}/breakdown: + get: + tags: + - Charges + summary: Retrieve a charge price and cost breakdown + description: "Required scope: `charges:read`*Note*: Please be aware that this\ + \ endpoint is currently in the BETA phase,calculations may return slightly\ + \ varying results, and the payload can change." + operationId: get-charge-breakdown + parameters: + - name: chargeId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Charge Breakdown for the given id + content: + application/json: + schema: + $ref: '#/components/schemas/ChargeBreakdown' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charges/{chargeId}/restart: + get: + tags: + - Charges + summary: Restart or start a reserved charge. + description: "Required scope: `control-charging:write`" + operationId: restart-charge + parameters: + - name: chargeId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Successfully restarted charge/started reserved charge + content: + application/json: + schema: + $ref: '#/components/schemas/Charge' + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/charges/{chargeId}/stop: + get: + tags: + - Charges + summary: Stop a charge. + description: "Required scope: `control-charging:write`" + operationId: stop-charge + parameters: + - name: chargeId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Successfully stopped a charge + content: + application/json: + schema: + $ref: '#/components/schemas/Charge' + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/consumers/me: + get: + tags: + - Consumer + summary: Obtain information about current API Consumer + operationId: get-current-consumer + responses: + "200": + description: Successfully retrieved current consumer + content: + application/json: + schema: + $ref: '#/components/schemas/Consumer' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + /api/v1/countries: + get: + tags: + - Countries + summary: 'Retrieve a countries. ' + description: "Note: no pagination support" + operationId: getCountries + parameters: [] + responses: + "200": + description: List of countries + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_CountryDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/countries/{id}: + get: + tags: + - Countries + summary: Retrieve a country. + operationId: getCountry + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Country with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/Country' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/country-areas: + get: + tags: + - Country Areas + summary: Retrieve a country areas. + description: "Note: no pagination support" + operationId: getCountriesAreas + parameters: + - name: countryId + in: query + required: true + schema: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Allows to filter country areas by country Id + format: int64 + example: 13 + responses: + "200": + description: List of country areas + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_CountryAreaDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + security: + - BearerAccessToken: [] + /api/v1/country-areas/{id}: + get: + tags: + - Country Areas + summary: Retrieve a country area. + operationId: getCountryArea + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Country area with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/CountryArea' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + security: + - BearerAccessToken: [] + /api/v1/currencies: + get: + tags: + - Currencies + summary: Retrieve a list of currencies + operationId: get-currencies + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: identifier + in: query + schema: + required: + - "false" + type: string + description: Allows to filter by ISO Alpha-3 currency code + nullable: true + example: eur + responses: + "200": + description: List of currencies that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_CurrencyDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/currencies/{currencyId}: + get: + tags: + - Currencies + summary: Retrieve a single currency + operationId: get-currency + parameters: + - name: currencyId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Currency with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/CurrencyDto_4' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/insights/charges/charger-report: + get: + tags: + - Insights + summary: Retrieve insights about charge points. + description: |- + Required scope: `insights:read` + + Returns a list of charge points (owned by that `teamId`) with the number of charging sessions and the total Kwh consumed. + operationId: get-insights-charges-charger-report + parameters: + - name: teamId + in: query + required: true + schema: + required: + - "true" + type: integer + description: Filter to retrieve charge point insights by the specified `teamId` + format: int64 + example: 13 + - name: chargePointIds + in: query + schema: + required: + - "false" + type: string + description: Filter to retrieve charges insights by the specified (comma-separated) + list of `chargePointId` + nullable: true + example: "13,14,15" + - name: fromDate + in: query + required: true + schema: + type: string + description: "Filter to retrieve charge insights created from date, we expecta\ + \ date in UTC and ISO8601 (YYYY-MM-DD'T'HH:MM:SS'Z')
The maximum gap\ + \ between from and to data cannot be longer than 31 days" + format: date + - name: toDate + in: query + required: true + schema: + type: string + description: "Filter to retrieve charge insights created to date, we expecta\ + \ date in UTC and ISO8601 (YYYY-MM-DD'T'HH:MM:SS'Z')
The maximum gap\ + \ between from and to data cannot be longer than 31 days" + format: date + responses: + "200": + description: Charger report for the given filter + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargesInsightChargerReportDto_' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + /api/v1/insights/charges/driver-report: + get: + tags: + - Insights + summary: Retrieve insights about charges broken down by team members of a team. + description: |- + Required scope: `insights:read` + + Returns charge insights for the given teamId (and optionally `teamMemberIds`) broken down by team member. + Takes only charges into consideration that were paid for by the provided `teamId`. + + Note: Any values related to money are in the teams' currency. You can fetch them from `GET /api/v1/teams/{teamId}` + operationId: get-insights-charges-driver-report + parameters: + - name: teamId + in: query + required: true + schema: + required: + - "true" + type: integer + description: Filter to retrieve charges insights by the specified `teamId` + format: int64 + example: 13 + - name: teamMemberIds + in: query + schema: + required: + - "false" + type: string + description: Filter to retrieve charges insights by the specified (comma-separated) + list of `teamMemberId` + nullable: true + example: "13,14,15" + - name: fromDate + in: query + required: true + schema: + type: string + description: "Filter to retrieve charge insights created from date, we expecta\ + \ date in UTC and ISO8601 (YYYY-MM-DD'T'HH:MM:SS'Z')
The maximum gap\ + \ between from and to data cannot be longer than 31 days" + format: date + - name: toDate + in: query + required: true + schema: + type: string + description: "Filter to retrieve charge insights created to date, we expecta\ + \ date in UTC and ISO8601 (YYYY-MM-DD'T'HH:MM:SS'Z')
The maximum gap\ + \ between from and to data cannot be longer than 31 days" + format: date + - name: datesFilteredBy + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/DriverReportDatesFilteredBy' + - type: string + description: "Use this to determine if the report should be filtered based\ + \ on completion dates of charges or wallet transactions.

Accepted\ + \ values:
- `charge-transaction`: Generates report based on charges'\ + \ `completedAt`. Default.- `wallet-transaction`: Generates report based\ + \ on wallet transactions' `completedAt`. Will not include any charges\ + \ without wallet transactions." + example: charge-transaction + default: charge-transaction + responses: + "200": + description: Driver report for the given filter + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_ChargesInsightDriverReportDto_' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + /api/v1/installer-jobs: + get: + tags: + - Installer Jobs + summary: Retrieve a list of installer jobs + description: "Required scope: `installer-jobs:read`" + operationId: get-installer-jobs + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: siteId + in: query + schema: + required: + - "false" + type: integer + description: Allows to filter list of installer jobs by a site id + format: int64 + nullable: true + example: 13 + - name: teamId + in: query + schema: + required: + - "false" + type: integer + description: Allows to filter list of installer jobs by a team id. + format: int64 + nullable: true + example: 19 + - name: includeDeleted + in: query + schema: + required: + - "false" + type: boolean + description: "If true, deleted installer jobs will be included in the response." + nullable: true + example: true + responses: + "200": + description: List of installer jobs that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_InstallerJobDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Installer Jobs + summary: Create an installer job + description: "Create an installer job for a charge point site.
Required scope:\ + \ `installer-jobs:write`" + operationId: post-installer-job + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateInstallerJobDto' + required: true + responses: + "201": + description: Installer job created + content: + application/json: + schema: + $ref: '#/components/schemas/InstallerJob' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/installer-jobs/{installerJobId}: + get: + tags: + - Installer Jobs + summary: Retrieve a single installer job + description: "Required scope: `installer-jobs:read`" + operationId: get-installer-job + parameters: + - name: installerJobId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Installer job with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/InstallerJob' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Installer Jobs + summary: Delete an existing installer job + description: "Required scope: `installer-jobs:delete`" + operationId: delete-installer-job + parameters: + - name: installerJobId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Installer Job deleted + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/operators: + get: + tags: + - Operators + summary: Retrieve operators + description: "Required scope: `operators`" + operationId: get-operators + parameters: + - name: page + in: query + schema: + type: integer + description: page number to retrieve (starts with 0) + format: int32 + nullable: true + example: 1 + default: 0 + - name: perPage + in: query + schema: + type: integer + format: int32 + nullable: true + responses: + "200": + description: List of operators that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_OperatorDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/operators/{id}: + get: + tags: + - Operators + summary: Retrieve an operator + description: "Required scope: `operators`" + operationId: get-operator + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: operator with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/Operator' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/payment-terminals: + get: + tags: + - Payment Terminals + summary: Retrieve a list of payment terminals + description: "Required scope: `payment-terminals:read`" + operationId: get-payment-terminals + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: serial + in: query + schema: + required: + - "false" + type: string + description: Allows to filter list of terminals by a serial + nullable: true + example: XYZ123-DF-123 + - name: teamId + in: query + schema: + required: + - "false" + type: integer + description: Allows to filter list of terminals by a team id. + format: int64 + nullable: true + example: 19 + - name: includeDeleted + in: query + schema: + required: + - "false" + type: boolean + description: "If true, deleted entities will be included in the response." + nullable: true + example: true + responses: + "200": + description: List of payment terminals that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_PaymentTerminalDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/payment-terminals/{paymentTerminalId}: + get: + tags: + - Payment Terminals + summary: Retrieve a single payment terminal + description: "Required scope: `payment-terminals:read`" + operationId: get-payment-terminal + parameters: + - name: paymentTerminalId + in: path + required: true + schema: + type: string + responses: + "200": + description: Payment Terminal with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentTerminal' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/plans: + get: + tags: + - Plans + summary: Retrieve plans + description: "Required scope: `plans:read`" + operationId: get-plans + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + responses: + "200": + description: List of plans that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_PlanDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/plans/{id}: + get: + tags: + - Plans + summary: Retrieve a plan + description: "Required scope: `plans:read`" + operationId: get-plan + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Plan with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/Plan' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/price-group-tags: + get: + tags: + - Price Groups Tags + summary: Retrieve price group tags. + description: "Required scope: `price-groups:read`" + operationId: get-price-group-tags + parameters: + - name: name + in: query + schema: + type: string + description: Filter to retrieve resources by the specified `name`. + nullable: true + example: Energy + - name: partnerExternalId + in: query + schema: + required: + - "false" + type: string + description: "Filter resources by partnerExternalId, to filter only resources\ + \ without `partnerExternalId` *use* `partnerExternalId=\"\"`" + nullable: true + example: 1A2B + responses: + "200": + description: Price group tags for a given filter + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_PriceGroupTagDto_' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + post: + tags: + - Price Groups Tags + summary: Create a price group tag + description: "Required scope: `price-groups:write`" + operationId: post-price-group-tag + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreatePriceGroupTag' + required: true + responses: + "201": + description: Price group tag created + content: + application/json: + schema: + $ref: '#/components/schemas/PriceGroupTag' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/price-group-tags/{id}: + get: + tags: + - Price Groups Tags + summary: Retrieve a single price group tag + description: "Required scope: `price-groups:read`" + operationId: get-price-group-tag + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Price group tag with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/PriceGroupTag' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Price Groups Tags + summary: Delete an existing price group tag + description: "Required scope: `price-groups:delete`" + operationId: delete-price-group-tag + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Price group tag deleted + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Price Groups Tags + summary: Update a price group tag + description: "Required scope: `price-groups:write`" + operationId: patch-price-group-tag + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchPriceGroupTag' + required: true + responses: + "200": + description: Price group tag updated + content: + application/json: + schema: + $ref: '#/components/schemas/PriceGroupTag' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/price-groups: + get: + tags: + - Price Groups + summary: Retrieve a list of price groups. + description: "Required scope: `price-groups:read`" + operationId: getPriceGroups + parameters: + - name: teamId + in: query + description: Filter to retrieve price groups with specified team id + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: List of price groups that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_PriceGroupDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Price Groups + summary: Creates a price group + description: "Required scope: `price-groups:write`" + operationId: create-price-group + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateOrUpdatePriceGroupDto' + required: true + responses: + "404": + description: Team not found + content: + application/json: + schema: + $ref: '#/components/schemas/MontaAppResponse' + "201": + description: Price group successfully created + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/price-groups/{id}: + get: + tags: + - Price Groups + summary: Retrieve a price group. + description: "Required scope: `price-groups:read`" + operationId: getPriceGroup + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Price group with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/PriceGroup' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + put: + tags: + - Price Groups + summary: Updates a price group + description: "Required scope: `price-groups:write`" + operationId: update-price-group + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateOrUpdatePriceGroupDto' + required: true + responses: + "404": + description: Price group not found + content: + application/json: + schema: + $ref: '#/components/schemas/MontaAppResponse' + "200": + description: Price group successfully updated + content: + application/json: + schema: + $ref: '#/components/schemas/PriceGroup' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Price Groups + summary: Deletes a price group + description: "Required scope: `price-groups:delete`" + operationId: delete-price-group + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "404": + description: Price group not found + content: + application/json: + schema: + $ref: '#/components/schemas/MontaAppResponse' + "204": + description: Price group successfully deleted + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/price-groups/{id}/apply: + put: + tags: + - Price Groups + summary: "Apply price group to charge points, sites or team members" + description: "Required scope: `price-groups:write`" + operationId: apply-price-group + parameters: + - name: id + in: path + required: true + schema: + minimum: 0 + exclusiveMinimum: true + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ApplyPriceGroup' + required: true + responses: + "404": + description: Price group not found + content: + application/json: + schema: + $ref: '#/components/schemas/MontaAppResponse' + "200": + description: Price group successfully applied to the selected entities + content: + application/json: + schema: + $ref: '#/components/schemas/PriceGroup' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/price-groups/{id}/default: + put: + tags: + - Price Groups + summary: Sets a price group as default + description: "Required scope: `price-groups:write`" + operationId: set-default-price-group + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "404": + description: Price group not found + content: + application/json: + schema: + $ref: '#/components/schemas/MontaAppResponse' + "200": + description: Price group successfully set as default + content: + application/json: + schema: + $ref: '#/components/schemas/PriceGroup' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/prices/forecast: + get: + tags: + - Prices Forecast + summary: Retrieve prices forecast. + description: "Prices can be forecasted for a charge point and optionally a price\ + \ group, when `priceGroupId` is not provided the charge point price group\ + \ will be used.
*Note*: This endpoint is in BETA phase and is subject\ + \ to changes in a near future release

Required scope: `prices-forecast:read`" + operationId: get-prices-forecast + parameters: + - name: chargePointId + in: query + schema: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Filter to retrieve prices forecast for the specified `chargePointId` + format: int64 + example: 13 + - name: priceGroupId + in: query + schema: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Filter to retrieve prices forecast for the specified `priceGroupId` + format: int64 + nullable: true + example: 130 + - name: teamMemberId + in: query + schema: + type: integer + description: Filter to retrieve prices forecast for the specified `teamMemberId` + format: int64 + nullable: true + example: 13 + responses: + "200": + description: Prices Forecast for the given filter + content: + application/json: + schema: + $ref: '#/components/schemas/PricesForecast' + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + /api/v1/sites: + get: + tags: + - Sites + summary: Retrieve your (charge) sites. + description: "Required scope: `charge-points:read`" + operationId: get-sites + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: teamId + in: query + description: The team id from which sites will be filtered by + schema: + type: integer + format: int64 + example: "13" + - name: partnerExternalId + in: query + description: "Filter sites by partnerExternalId, to filter only resources\ + \ without `partnerExternalId` *use* `partnerExternalId=\"\"`" + schema: + type: string + - name: sortByLocation + in: query + description: |- + lat,long coordinates. If supplied, the Charge Points will be sorted in nearest first order relative + to this point. (Format: 55.7096,12.5856) + schema: + type: string + example: "55.7096,12.5856" + - name: includeDeleted + in: query + description: Includes deleted resources in the response + required: false + schema: + type: boolean + default: false + responses: + "200": + description: List of sites that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_SiteDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Sites + summary: Create a (charge) site + description: "Required scope: `charge-points:write`" + operationId: post-site + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateSite' + required: true + responses: + "201": + description: Site created + content: + application/json: + schema: + $ref: '#/components/schemas/Site' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/sites/{siteId}: + get: + tags: + - Sites + summary: Retrieve a single (charge) site. + description: "Required scope: `charge-points:read`" + operationId: get-site + parameters: + - name: siteId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Site with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/Site' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Sites + summary: Delete an existing (charge) site + description: "*Note:* This action will also remove `Charge Points` from the\ + \ `Site`.

Required scope: `charge-points:delete`" + operationId: delete-site + parameters: + - name: siteId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Site deleted + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Sites + summary: Patch an existing (charge) site + description: "Required scope: `charge-points:write`" + operationId: patch-site + parameters: + - name: siteId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchSite' + required: true + responses: + "200": + description: Site updated + content: + application/json: + schema: + $ref: '#/components/schemas/Site' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/sponsored-charge-points: + get: + tags: + - Sponsored Charge Points + summary: Retrieve a list of sponsored charge points + description: "Required scope: `sponsored-charge-points:read`" + operationId: get-sponsored-charge-points + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: chargePointId + in: query + schema: + required: + - "false" + type: integer + description: Allows to filter list of sponsored charge points by a charge + point id + format: int64 + nullable: true + example: 13 + - name: teamId + in: query + schema: + required: + - "false" + type: integer + description: Allows to filter list of sponsored charge points by a team + id. + format: int64 + nullable: true + example: 19 + - name: includeDeleted + in: query + schema: + type: boolean + description: Filter to include deleted entities in the response + example: false + responses: + "200": + description: List of sponsored charges points that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_SponsoredChargePointDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Sponsored Charge Points + summary: Create a sponsored charge point + description: "Creates a sponsored charge point for a given user, the sponsorship\ + \ is automatically approved.

*Note:* a charge point can only be sponsored\ + \ to one user_id
Required scope: `sponsored-charge-points:write`" + operationId: post-sponsored-charge-point + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateSponsoredChargePointDto' + required: true + responses: + "201": + description: Sponsored charge point created + content: + application/json: + schema: + $ref: '#/components/schemas/SponsoredChargePoint' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/sponsored-charge-points/{sponsoredChargePointId}: + get: + tags: + - Sponsored Charge Points + summary: Retrieve a single sponsored charge point + description: "Required scope: `sponsored-charge-points:read`" + operationId: get-sponsored-charge-point + parameters: + - name: sponsoredChargePointId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Sponsored charge point with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/SponsoredChargePoint' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Sponsored Charge Points + summary: Delete an existing sponsored charge point + description: "Required scope: `sponsored-charge-points:delete`" + operationId: delete-sponsored-charge-point + parameters: + - name: sponsoredChargePointId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Sponsored Charge Point deleted + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Sponsored Charge Points + summary: Update a sponsored charge point + description: "Required scope: `sponsored-charge-points:write`" + operationId: patch-sponsored-charge-point + parameters: + - name: sponsoredChargePointId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchSponsoredChargePoint' + required: true + responses: + "200": + description: Updated sponsored charge point with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/SponsoredChargePoint' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/subscription-purchases: + get: + tags: + - Subscription Purchases + summary: Retrieve a list of subscription purchases + description: "Required scope: `subscriptions:read`" + operationId: get-subscription-purchases + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: subscriptionId + in: query + schema: + required: + - "false" + type: integer + description: Filter subscription purchases by subscription id + format: int64 + nullable: true + example: 1 + - name: includeDeleted + in: query + schema: + required: + - "false" + type: boolean + description: Includes deleted resources in the response + nullable: true + example: true + responses: + "200": + description: List of subscription purchases that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_SubscriptionPurchaseDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/subscription-purchases/{subscriptionPurchaseId}: + get: + tags: + - Subscription Purchases + summary: Retrieve a subscription purchase + description: "Required scope: `subscriptions:read`" + operationId: get-subscription-purchase + parameters: + - name: subscriptionPurchaseId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Subscription purchase with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/SubscriptionPurchase' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/subscriptions: + get: + tags: + - Subscriptions + summary: Retrieve a list of subscriptions + description: "Required scope: `subscriptions:read`" + operationId: get-subscriptions + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: planId + in: query + schema: + required: + - "false" + type: integer + description: Filter subscription by plan + format: int64 + nullable: true + example: 1 + - name: chargePointId + in: query + schema: + required: + - "false" + type: integer + description: Filter subscriptions by charge point + format: int64 + nullable: true + example: 1 + - name: subscriptionPurchaseId + in: query + schema: + required: + - "false" + type: integer + description: Filter subscriptions by subscription purchase id. Should return + max. 1 subscription. + format: int64 + nullable: true + example: 42 + responses: + "200": + description: List of Charge Point subscriptions that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_SubscriptionDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Subscriptions + summary: Create subscription + description: "Required scope: `subscriptions:write`" + operationId: create-subscription + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateSubscription' + required: true + responses: + "201": + description: The created subscription + content: + application/json: + schema: + $ref: '#/components/schemas/Subscription' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/subscriptions/{subscriptionId}: + get: + tags: + - Subscriptions + summary: Retrieve a subscription + description: "Required scope: `subscriptions:read`" + operationId: get-subscription + parameters: + - name: subscriptionId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Subscription with provided ID + content: + application/json: + schema: + $ref: '#/components/schemas/Subscription' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Subscriptions + summary: Cancel subscription + description: "Required scope: `subscriptions:delete`" + operationId: delete-subscription + parameters: + - name: subscriptionId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Subscription successfully canceled + content: + application/json: + schema: + $ref: '#/components/schemas/Unit' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/subscriptions/{subscriptionId}/approve: + post: + tags: + - Subscriptions + summary: Approve subscription + description: "Required scope: `subscriptions:write`" + operationId: approve-subscription + parameters: + - name: subscriptionId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ApproveSubscription' + required: true + responses: + "200": + description: The updated subscription + content: + application/json: + schema: + $ref: '#/components/schemas/Subscription' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/tariff-period-groups: + get: + tags: + - Tariff Period Groups + summary: Retrieve Tariff Period Groups by tariff id + description: "Required scope: `tariff:read`" + operationId: get-period-groups + parameters: + - name: tariffId + in: query + description: Filter to retrieve tariff period groups by tariff id + schema: + type: integer + format: int64 + responses: + "200": + description: Tariff period group with provided tariff id + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TariffPeriodGroup' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Tariff Period Groups + summary: Create a new Tariff Period Group. + description: "Required scope: `tariffs:write`" + operationId: create-tariff-period-group + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TariffPeriodGroup' + required: true + responses: + "201": + description: New Tariff Period Group + content: + application/json: + schema: + $ref: '#/components/schemas/TariffPeriodGroup' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/tariff-period-groups/{id}: + get: + tags: + - Tariff Period Groups + summary: Retrieve Tariff Period Groups by id + description: "Required scope: `tariff:read`" + operationId: get-period-group + parameters: + - name: id + in: path + description: Filter to retrieve tariff period groups by id + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Tariff period group with provided group id + content: + application/json: + schema: + $ref: '#/components/schemas/TariffPeriodGroup' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + delete: + tags: + - Tariff Period Groups + summary: "Delete an existing Tariff Period Group, and all contained recurring\ + \ periods and prices." + description: "Required scope: `tariffs:delete`" + operationId: delete-tariff-period-group + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Tariff Period Group deleted + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Tariff Period Groups + summary: Update existing Tariff Period Group. + description: "Required scope: `tariffs:write`" + operationId: update-tariff-period-group + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TariffPeriodGroup' + required: true + responses: + "200": + description: Updated Tariff Period Group + content: + application/json: + schema: + $ref: '#/components/schemas/TariffPeriodGroup' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/tariff-recurring-periods: + get: + tags: + - Tariff Recurring Periods + summary: Retrieve recurring periods. + description: "Required scope: `tariffs:read`" + operationId: get-tariff-recurring-periods + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: tariffId + in: query + required: true + schema: + type: integer + format: int64 + - name: tariffPeriodGroupId + in: query + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Tariff recurring periods with provided tariffId & tariffPeriodGroupId + content: + application/json: + schema: + $ref: '#/components/schemas/Page_TariffRecurringPeriodDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Tariff Recurring Periods + summary: Create new recurring period. + description: "Required scope: `tariffs:write`" + operationId: create-tariff-recurring-periods + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TariffRecurringPeriodCreateRequestDto' + required: true + responses: + "201": + description: Tariff recurring period that was created + content: + application/json: + schema: + $ref: '#/components/schemas/TariffRecurringPeriod' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/tariff-recurring-periods/{id}: + delete: + tags: + - Tariff Recurring Periods + summary: "Delete an existing Tariff Recurring Period , and all contained prices." + description: "Required scope: `tariffs:delete`" + operationId: delete-tariff-recurring-period + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Tariff Recurring Period deleted + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/tariff-recurring-periods/{periodId}: + get: + tags: + - Tariff Recurring Periods + summary: Retrieve a tariff recurring period. + description: "Required scope: `tariffs:read`" + operationId: get-tariff-recurring-period + parameters: + - name: periodId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Tariff recurring period with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/TariffRecurringPeriod' + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Tariff Recurring Periods + summary: Update existing recurring period. + description: "Required scope: `tariffs:write`" + operationId: update-tariff-recurring-periods + parameters: + - name: periodId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TariffRecurringPeriodUpdateRequestDto' + required: true + responses: + "200": + description: Tariff recurring period that was updated + content: + application/json: + schema: + $ref: '#/components/schemas/TariffRecurringPeriod' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/tariffs: + get: + tags: + - Tariff + summary: Retrieve all tariffs. + description: "Required scope: `tariffs:read`" + operationId: get-all-tariffs + parameters: + - name: countryId + in: query + description: Country id of the tariff + schema: + type: integer + format: int64 + - name: countryAreaId + in: query + description: Country area id of the tariff + schema: + type: integer + format: int64 + - name: externalId + in: query + description: External id of the tariff + schema: + type: string + - name: operatorId + in: query + description: Operator id of the tariff (taken from the consumer) + schema: + type: integer + format: int64 + - name: teamId + in: query + description: Team id of the tariff + schema: + type: integer + format: int64 + - name: zip + in: query + description: Zip code of the tariff + schema: + type: string + responses: + "200": + description: All tariffs + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TariffDto' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Tariff + summary: Create a new Tariff. + description: "Required scope: `tariffs:write`" + operationId: create-tariff + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateTariffRequest' + required: true + responses: + "201": + description: New Tariff + content: + application/json: + schema: + $ref: '#/components/schemas/TariffDto' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/tariffs/{tariffId}: + get: + tags: + - Tariff + summary: Retrieve your tariff and prices. + description: "Required scope: `tariffs:read`" + operationId: get-tariff + parameters: + - name: start + in: query + description: "Filter to retrieve tariffs where `createdAt` >= `start` (ISO8601:\ + \ yyyy-MM-ddTHH:mm:ssZ)" + schema: + type: string + format: date-time + example: 2022-05-22T09:30:03Z + - name: end + in: query + description: "Filter to retrieve charges where `createdAt` <= `end` (ISO8601:\ + \ yyyy-MM-ddTHH:mm:ssZ)" + schema: + type: string + format: date-time + example: 2022-05-22T09:30:03Z + - name: tariffId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Tariff with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/FullTariff' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + put: + tags: + - Tariff + summary: Update an existing Tariff. + description: "Required scope: `tariffs:write`" + operationId: update-tariff + parameters: + - name: tariffId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateTariffRequest' + required: true + responses: + "200": + description: Updated Tariff + content: + application/json: + schema: + $ref: '#/components/schemas/TariffDto' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/tariffs/{tariffId}/create-prices: + post: + tags: + - Tariff + summary: Create the prices for a given tariff within a given period of time. + description: "Required scope: `tariffs:write`" + operationId: create-tariff-prices + parameters: + - name: tariffId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateTariffPricesRequest' + required: true + responses: + "201": + description: Tariff prices created + content: + application/json: + schema: + $ref: '#/components/schemas/FullTariff' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/team-members: + get: + tags: + - Team Members + summary: Retrieve a list of team members. + description: "Required scope: `team-members:read`" + operationId: getTeamMembers + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: teamId + in: query + schema: + required: + - "false" + type: integer + description: Filter team members by `teamId` + format: int64 + nullable: true + example: 1 + - name: includeDeleted + in: query + schema: + required: + - "false" + type: boolean + description: Includes deleted resources in the response + example: true + default: false + - name: role + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/TeamMemberRole' + - description: Filter team members by the specified `role` + example: admin + - name: state + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/TeamMemberState' + - description: Filter team members by the specified `state` + example: expired + - name: userId + in: query + schema: + minimum: 0 + exclusiveMinimum: true + required: + - "false" + type: integer + description: Filter team members with specified `userId` + format: int64 + nullable: true + example: 42 + - name: email + in: query + schema: + required: + - "false" + type: string + description: Filter team members with specified `email` + format: email + nullable: true + example: user@acme.com + - name: phone + in: query + schema: + pattern: "^\\+[1-9]\\d{1,14}$" + required: + - "false" + type: string + description: Filter team members with specified `phone` number + nullable: true + example: "+451234567" + - name: partnerExternalTeamId + in: query + schema: + required: + - "false" + type: string + description: "Filter team members by the specified `partnerExternalTeamId`Note:\ + \ partnerExternalTeamId refers to external id on the team level" + nullable: true + example: 1A2B3C4D5E + - name: partnerExternalId + in: query + schema: + required: + - "false" + type: string + description: Filter team members with specified `partnerExternalId` + nullable: true + example: 1A2B3C4D5E + responses: + "200": + description: List of team members that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_TeamMemberDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Team Members + summary: Create (invite) a team member + description: "Create (invite) a user to join a team, invitation can be done\ + \ via `userId`, `email` and/or `phone`. A user that does not exist in yet\ + \ will have a null `userId`.

Required scope: `team-members:write`" + operationId: post-team-member + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateTeamMember' + required: true + responses: + "201": + description: Team member created + content: + application/json: + schema: + $ref: '#/components/schemas/TeamMemberDto' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/team-members/{id}: + get: + tags: + - Team Members + summary: Retrieve a team member. + description: "Required scope: `team-members:read`" + operationId: getTeamMember + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Team member with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/TeamMemberDto' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Team Members + summary: Patch a team member. + description: "Required scope: `team-members:write`" + operationId: patchTeamMember + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchTeamMember' + required: true + responses: + "200": + description: Updated Team member with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/TeamMemberDto' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/team-members/{id}/resend-invite: + post: + tags: + - Team Members + summary: Resend an invite to a team member and reset expiry date. + description: "Required scope: `team-members:write`" + operationId: resendTeamMemberInvite + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Team member with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/TeamMemberDto' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/team-members/{teamMemberId}: + delete: + tags: + - Team Members + summary: Delete an existing team member + description: "Required scope: `team-members:delete`" + operationId: delete-team-member + parameters: + - name: teamMemberId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Team member deleted + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/teams: + get: + tags: + - Teams + summary: Retrieve a list of teams + description: "Required scope: `teams:read`" + operationId: get-teams + parameters: + - name: partnerExternalId + in: query + description: "Filter teams by partnerExternalId, to filter only resources\ + \ without `partnerExternalId` *use* `partnerExternalId=\"\"`" + schema: + type: string + - name: includeDeleted + in: query + description: Filter to include delete teams in the response + required: false + schema: + type: boolean + default: false + example: "true" + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + responses: + "200": + description: List of teams that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_TeamDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + post: + tags: + - Teams + summary: Create a team + description: "Required scope: `teams:write`" + operationId: post-team + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateTeamDto' + required: true + responses: + "201": + description: Team created + content: + application/json: + schema: + $ref: '#/components/schemas/Team' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/teams/{id}: + get: + tags: + - Teams + summary: Retrieve a team + description: "Required scope: `teams:read`" + operationId: get-team + parameters: + - name: id + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Team with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/Team' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/teams/{teamId}: + delete: + tags: + - Teams + summary: Delete an existing team + description: "Required scope: `teams:delete`" + operationId: delete-team + parameters: + - name: teamId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "204": + description: Team deleted + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Teams + summary: Patch an existing team + description: "Required scope: `teams:write`" + operationId: patch-team + parameters: + - name: teamId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchTeam' + required: true + responses: + "200": + description: Team updated + content: + application/json: + schema: + $ref: '#/components/schemas/Team' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/wallet-transactions: + get: + tags: + - Wallet Transactions + summary: Retrieve your wallet transactions. + description: "Required scope: `wallet-transactions:read`" + operationId: get-wallet-transactions + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: teamId + in: query + schema: + type: integer + description: "Filter to retrieve transactions for a given team. *Note*:\ + \ When not provided the transactions for the operator will be returned\ + \ instead" + format: int32 + nullable: true + example: 1 + - name: fromDate + in: query + schema: + pattern: "^(\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2})Z$" + type: string + description: "Filter to retrieve transactions where `createdAt` >= `fromDate`\ + \ (ISO8601: yyyy-MM-ddTHH:mm:ssZ)" + format: date-time + nullable: true + example: 2022-05-22T09:30:03Z + - name: toDate + in: query + schema: + pattern: "^(\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2})Z$" + type: string + description: "Filter to retrieve transactions where `createdAt` <= `toDate`\ + \ (ISO8601: yyyy-MM-ddTHH:mm:ssZ)" + format: date-time + nullable: true + example: 2022-05-22T09:30:03Z + - name: referenceId + in: query + schema: + type: string + description: Filter to retrieve transactions by the matching referenceId + nullable: true + example: "1" + - name: referenceType + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/WalletTransactionReferenceType' + - type: string + description: Filter to retrieve transactions by the matching referenceType + example: CHARGE + - name: state + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/WalletTransactionState' + - type: string + description: Filter to retrieve transactions by the matching state + example: complete + - name: group + in: query + schema: + nullable: true + allOf: + - $ref: '#/components/schemas/WalletTransactionGroup' + - type: string + description: Filter to retrieve transactions by the matching group + example: deposit + - name: partnerExternalId + in: query + schema: + required: + - "false" + type: string + description: "Filter transactions by partnerExternalId, to filter only resources\ + \ without `partnerExternalId` *use* `partnerExternalId=\"\"`" + nullable: true + example: "1" + responses: + "200": + description: List of wallet transactions that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_WalletTransactionDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/wallet-transactions/operator-adjustment-transaction: + post: + tags: + - Wallet Transactions + summary: Post an operator adjustment transaction + description: "This API endpoint is for operator to create an adjustment transaction\ + \ to their teams. Required scope: `wallet-transaction:write`" + operationId: post-operator-adjustment-transaction + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/OperatorAdjustmentTransaction' + required: true + responses: + "201": + description: Transaction created + content: + application/json: + schema: + $ref: '#/components/schemas/WalletTransaction' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/wallet-transactions/{transactionId}: + get: + tags: + - Wallet Transactions + summary: Retrieve a single wallet transaction. + description: "Required scope: `wallet-transactions:read`" + operationId: get-wallet-transaction + parameters: + - name: transactionId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Wallet transaction with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/WalletTransaction' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + patch: + tags: + - Wallet Transactions + summary: Patch an existing transaction + description: "Required scope: `transaction:write`" + operationId: patch-transaction + parameters: + - name: transactionId + in: path + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchWalletTransaction' + required: true + responses: + "200": + description: Transaction updated + content: + application/json: + schema: + $ref: '#/components/schemas/WalletTransaction' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/wallets: + get: + tags: + - Wallets + summary: Retrieve your wallets. + description: "Required scope: `wallet-transactions:read`" + operationId: get-wallets + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: teamId + in: query + schema: + type: integer + description: "Filter to retrieve wallet for a given team. *Note*: You need\ + \ to either provide `teamId` or `operatorId`" + format: int32 + nullable: true + example: 1 + - name: operatorId + in: query + schema: + type: integer + description: "Filter to retrieve wallet for a given operator. *Note*: You\ + \ need to either provide `teamId` or `operatorId`" + format: int32 + nullable: true + example: 1 + responses: + "200": + description: List of wallets that match the criteria + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_WalletDto_' + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/wallets/{walletId}: + get: + tags: + - Wallets + summary: Retrieve a single wallet. + description: "Required scope: `wallet-transactions:read`" + operationId: get-wallet + parameters: + - name: walletId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Wallet with provided id + content: + application/json: + schema: + $ref: '#/components/schemas/Wallet' + "403": + description: Operator doesn't have access to resource + content: + application/json: + schema: + type: object + example: + status: FORBIDDEN + message: Operator doesn't have access to resource + errorCode: ACCESS_FORBIDDEN + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + "401": + description: Unauthorized access + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Invalid or expired `accessToken`. + errorCode: INVALID_ACCESS_TOKEN + security: + - BearerAccessToken: [] + /api/v1/webhooks/config: + get: + tags: + - Webhooks + summary: Get your webhook config + description: "Required scope: `manage-webhooks:read`" + operationId: get-webhook-config + responses: + "200": + description: Your Webhook config. + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookConfig' + "404": + description: Webhook config not found. + "401": + description: Consumer with provided credentials was not found + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Consumer with given `clientId` and `clientSecret` not found + errorCode: CONSUMER_NOT_FOUND + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + put: + tags: + - Webhooks + summary: Update your webhook config + description: "Required scope: `manage-webhooks:write`" + operationId: update-webhook-config + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookConfig' + required: true + responses: + "200": + description: Webhook config successfully updated. + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookConfig' + "401": + description: Consumer with provided credentials was not found + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Consumer with given `clientId` and `clientSecret` not found + errorCode: CONSUMER_NOT_FOUND + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + delete: + tags: + - Webhooks + summary: Delete webhook config + description: "Required scope: `manage-webhooks:delete`" + operationId: delete-webhook-config + responses: + "204": + description: Successfully deleted webhook configuration + "401": + description: Consumer with provided credentials was not found + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Consumer with given `clientId` and `clientSecret` not found + errorCode: CONSUMER_NOT_FOUND + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + /api/v1/webhooks/entries: + get: + tags: + - Webhooks + summary: Retrieve webhook entries + description: "This endpoint can help you debug pending/failed webhook entries.\ + \ Required scope: `webhooks:read`" + operationId: get-webhook-entries + parameters: + - name: page + in: query + description: page number to retrieve (starts with 0) + schema: + type: integer + format: int32 + default: 0 + example: "1" + - name: perPage + in: query + description: "number of items per page (between 1 and 100, default 10)" + schema: + type: integer + format: int32 + default: 10 + example: "10" + - name: status + in: query + description: The status from which webhook entries will be filtered by + schema: + type: integer + format: int64 + example: failed + responses: + "200": + description: List of webhook entries for your consumer in the past 24 hours + content: + application/json: + schema: + $ref: '#/components/schemas/MontaPage_WebhookEntryDto_' + "401": + description: Consumer with provided credentials was not found + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Consumer with given `clientId` and `clientSecret` not found + errorCode: CONSUMER_NOT_FOUND + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] + /api/v1/webhooks/entries/{entryId}: + get: + tags: + - Webhooks + summary: Retrieve a single webhook entry by id + description: |- + This endpoint returns a single entry by id. + *Note that we only persist entries for past 24 hours.* + Required scope: `webhooks:read` + operationId: get-webhook-entries_1 + parameters: + - name: entryId + in: path + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: Webhook entry with given id + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookEntry' + "401": + description: Consumer with provided credentials was not found + content: + application/json: + schema: + type: object + example: + status: UNAUTHORIZED + message: Consumer with given `clientId` and `clientSecret` not found + errorCode: CONSUMER_NOT_FOUND + "404": + description: Entity with the provided id was not found + content: + application/json: + schema: + type: object + example: + status: NOT_FOUND + message: Requested entity/entity provided in body was not found + readableMessage: user friendly message + errorCode: RESOURCE_NOT_FOUND + context: context + "400": + description: The request is invalid + content: + application/json: + schema: + type: object + example: + status: BAD_REQUEST + message: Invalid request + errorCode: BAD_REQUEST + security: + - BearerAccessToken: [] +components: + schemas: + AdditionalPricing: + required: + - type + - value + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/AdditionalPricingType' + - description: Type of the additional pricing. `absolute` means the value + is a price. + example: percentage + value: + allOf: + - $ref: '#/components/schemas/Money' + - description: The value of this additional pricing. Both `absolute` and + `percentage` values here are represented as a money object. + AdditionalPricingType: + type: string + enum: + - absolute + - percentage + Address: + required: + - address1 + - city + - country + - zip + type: object + properties: + address1: + type: string + description: First line of address + example: Strandboulevarden 122 + address2: + type: string + description: Second line of address + nullable: true + example: København + address3: + type: string + description: Third line of address + nullable: true + example: 5. sal + zip: + type: string + description: Zip-code + example: "2100" + city: + type: string + description: City (readable) + example: Copenhagen + country: + type: string + description: Country (readable) + example: Denmark + ApplyPriceGroup: + type: object + properties: + selectedChargePointIds: + required: + - "false" + type: array + description: List of charge point ids + nullable: true + items: + type: integer + format: int64 + selectedSiteIds: + required: + - "false" + type: array + description: List of site ids + nullable: true + items: + type: integer + format: int64 + selectedTeamMemberIds: + required: + - "false" + type: array + description: List of team member ids + nullable: true + items: + type: integer + format: int64 + resetCost: + required: + - "false" + type: boolean + description: Flag to indicate if costs should be reset + nullable: true + ApproveSubscription: + type: object + properties: + firstPurchaseAt: + type: string + description: "Date when wallet will be charged for the first time (ISO8601:\ + \ yyyy-MM-ddTHH:mm:ssZ)" + format: date-time + nullable: true + example: 2022-10-22T09:30:03Z + Breakdown: + required: + - components + - subTotalMasterPrice + - subTotalPrice + - subTotalSecondaryPrice + type: object + properties: + from: + required: + - "false" + type: string + description: "The initial timestamp for this breakdown entry, currently\ + \ in hourly format" + format: date-time + nullable: true + example: 2022-04-22T09:00:00Z + to: + required: + - "false" + type: string + description: "The final timestamp for this breakdown entry, currently in\ + \ hourly format" + format: date-time + nullable: true + example: 2022-04-22T09:59:59Z + subTotalPrice: + required: + - "true" + type: integer + description: The total price for this breakdown entry + format: int64 + example: 100 + subTotalMasterPrice: + required: + - "true" + type: integer + description: The total master price for this breakdown entry + format: int64 + example: 50 + subTotalSecondaryPrice: + required: + - "true" + type: integer + description: The total secondary price for this breakdown entry + format: int64 + example: 25 + components: + required: + - "true" + type: array + description: The list of prices and tariffs relevant for this breakdown + entry + items: + $ref: '#/components/schemas/Component' + BreakdownSummary: + required: + - totalAdjustments + - totalFees + - totalMasterPrice + - totalPrice + - totalSecondaryPrice + type: object + properties: + totalMasterPrice: + required: + - "true" + type: integer + description: Total master price for the given charge + format: int64 + example: 1000 + totalSecondaryPrice: + required: + - "true" + type: integer + description: Total secondary price for the given charge + format: int64 + example: 500 + totalFees: + required: + - "true" + type: integer + description: Total fees for the given charge + format: int64 + example: 500 + totalAdjustments: + required: + - "true" + type: integer + description: "Total adjustments for a given charge, for instance, based\ + \ on certain business rules, the final price may be adjusted to prevent\ + \ it from exceeding 1000 EUR" + format: int64 + example: 200 + totalPrice: + required: + - "true" + type: integer + description: Total price for the given charge + format: int64 + example: 2220 + Charge: + required: + - costBreakdown + - createdAt + - kwhPerHour + - priceBreakdown + - publicChargePoint + - state + - type + - updatedAt + - user + type: object + properties: + id: + type: integer + description: Id of the charge + format: int64 + example: 1 + user: + allOf: + - $ref: '#/components/schemas/PublicUser' + - description: User that performed the charge + teamMember: + nullable: true + allOf: + - $ref: '#/components/schemas/SimpleTeamMemberDto' + - description: "Team that performed the charge, if part of the charge points'\ + \ team" + type: + allOf: + - $ref: '#/components/schemas/ChargeType' + - description: Type of the charge + example: "1" + chargePointId: + type: integer + description: Id of the charge point related to this charge + format: int64 + example: 21 + publicChargePoint: + allOf: + - $ref: '#/components/schemas/PublicChargePoint' + - description: The public information about the charge point related to + this charge + sponsoredChargePointId: + required: + - "false" + type: integer + description: Id of the sponsored charge point related to this charge + format: int64 + nullable: true + example: 29 + priceGroupId: + type: integer + description: "Id of the price group related to this charge. Note: The underlying\ + \ price/costGroup models can change and you have \n to use\ + \ other fields to get the historic data (costBreakdown, priceBreakdown,\ + \ price)" + format: int64 + example: 21 + costPriceGroupId: + type: integer + description: Id of the cost price group related to this charge + format: int64 + nullable: true + example: 21 + siteId: + type: integer + description: Id of the site in which the charge point that performed this + charge is + format: int64 + nullable: true + example: 21 + createdAt: + type: string + description: Creation date + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Update date + format: date-time + example: 2022-05-12T16:56:45.99Z + cablePluggedInAt: + type: string + description: Date when cable was plugged in + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + startedAt: + type: string + description: Date when charge started + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + stoppedAt: + type: string + description: Date when charge stopped + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + fullyChargedAt: + type: string + description: Date when EV was fully charged + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + releasedAt: + type: string + description: Date when cable was released + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + failedAt: + type: string + description: Date when charge failed + format: date-time + nullable: true + example: 2022-05-12T15:56:45.91Z + timeoutAt: + type: string + description: Date when charge timed out + format: date-time + nullable: true + example: 2022-05-12T15:56:45.91Z + completedAt: + type: string + description: Date when charge was considered completed + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + state: + allOf: + - $ref: '#/components/schemas/ChargeStateDto' + - type: string + description: State of the charge + example: charging + startSource: + type: string + description: "Indicates the starting source for this charge, e.g app-ios,\ + \ app-android
Note: This is an ever-growing list, new values might\ + \ be added. Please make sure to implement appropriate fallbacks" + nullable: true + example: app-ios + consumedKwh: + type: number + description: Consumed Kwh + format: double + nullable: true + example: 20.4 + kwhLimit: + type: number + description: Configured Kwh limit for this charge + format: double + nullable: true + example: 21 + kwhPerHour: + type: array + description: List of consumed Kwh split by hour + items: + $ref: '#/components/schemas/KwhPerHour' + costBreakdown: + type: array + description: "Detailed breakdown of the costs by hour

**Note**:\ + \ Deprecated, this field will be be removed by *01.04.2024*, Use the `charges/:chargeId/breakdown`\ + \ endpoint instead" + deprecated: true + items: + $ref: '#/components/schemas/ChargeCost' + x-sunset: 2024-04-01 + priceBreakdown: + type: array + description: "Detailed breakdown of the prices by hour

**Note**:\ + \ Deprecated, this field will be be removed by *01.04.2024*, Use the `charges/:chargeId/breakdown`\ + \ endpoint instead" + deprecated: true + items: + $ref: '#/components/schemas/ChargePrice' + x-sunset: 2024-04-01 + startMeterKwh: + type: number + description: Kwh of the meter before charging started + format: double + nullable: true + example: 123.45 + endMeterKwh: + type: number + description: Kwh of the meter after charging stopped + format: double + nullable: true + example: 163.85 + price: + type: number + description: Price for this charge + format: double + nullable: true + example: 122.4 + priceLimit: + type: number + description: Configured price limit for this charge + format: double + nullable: true + example: 212 + averagePricePerKwh: + type: number + description: Average price per Kwh + format: double + nullable: true + example: 6 + averageCo2PerKwh: + type: number + description: Average CO2 consumption per Kwh + format: double + nullable: true + example: 100 + averageRenewablePerKwh: + type: number + description: Average percentage of renewable energy per Kwh + format: double + nullable: true + example: 72.5 + failureReason: + type: string + description: Failure reason for this charge + nullable: true + example: Some reason why we couldn't charge. + stopReason: + type: string + description: Reason why this charge stopped + nullable: true + example: Some reason why the charge stopped. + paymentMethod: + type: string + description: Payment method for this charge + nullable: true + example: free + enum: + - free + - team-has-fund + - team-has-auto-refill + - source + - payment + note: + type: string + description: A note taken for this charge + nullable: true + example: Lorem Ipsum + currency: + nullable: true + allOf: + - $ref: '#/components/schemas/Currency' + - description: Currency used for payment. + payingTeam: + nullable: true + allOf: + - $ref: '#/components/schemas/PayingTeam' + - description: Team who paid for this charge + sponsorTeam: + nullable: true + allOf: + - $ref: '#/components/schemas/SponsorTeam' + - description: Team who sponsored this charge + operator: + nullable: true + allOf: + - $ref: '#/components/schemas/Operator' + - description: Operator this of this charge + chargeAuth: + nullable: true + allOf: + - $ref: '#/components/schemas/ChargeAuthentication' + - description: The object used to authenticate a charge + soc: + nullable: true + allOf: + - $ref: '#/components/schemas/StateOfCharge' + - description: Information about the state of charge if available + example: "42" + socLimit: + type: number + description: Configured SoC limit for this charge + format: double + nullable: true + example: 80 + genericPaymentSession: + nullable: true + allOf: + - $ref: '#/components/schemas/GenericPaymentSession' + - description: "Generic payment session for this charge. If provided, the\ + \ charge was paid with this payment session." + partnerExternalId: + type: string + description: "External Id of this entity, managed by you. **We recommend\ + \ to fill this always with a unique identifier from your side,since it\ + \ allows you to find a started charge later, even if this requests'response\ + \ was not captured by you or something went wrong.**" + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + chargePointKw: + type: number + description: The charge point KW recorded during the charge. + format: double + nullable: true + ChargeAuthToken: + required: + - createdAt + - identifier + - type + - updatedAt + type: object + properties: + id: + type: integer + description: The id of the charge auth token + format: int64 + example: 1 + identifier: + type: string + description: "The identifier of the charge auth token, Note: without prefix\ + \ e.g `VID:`" + example: 38C58DB85F4 + type: + type: string + description: The method type used for this charge auth token + example: vehicleId + enum: + - vehicleId + - rfid + teamId: + type: integer + description: Id of the team that the charge auth token belongs to + format: int64 + example: 13 + userId: + type: integer + description: Id of the user that the charge auth token is associated to + format: int64 + nullable: true + example: 1 + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + name: + type: string + description: Name of the charge auth token + nullable: true + example: Monta Team Key + operator: + nullable: true + allOf: + - $ref: '#/components/schemas/Operator' + - description: Operator of this charge auth token + montaNetwork: + type: boolean + description: If the charge auth token is active in the Monta network + example: true + roamingNetwork: + type: boolean + description: If the charge auth token is active in the Roaming network + example: true + operatorNetwork: + type: boolean + description: Allow this charge auth token to be used on other teams charge + points under the same operator + example: true + activeUntil: + type: string + description: "Indicates until when this charge auth token is active, null\ + \ means indefinitely" + format: date-time + nullable: true + example: 2023-01-11T00:00:00Z + blockedAt: + type: string + description: | + If the charge auth token is blocked, it will not be able to charge. + * `null` = not blocked + * date-time = blocked since date-time + format: date-time + nullable: true + example: 2023-01-11T00:00:00Z + createdAt: + type: string + description: Creation date of this charge auth token + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Update date of this charge auth token + format: date-time + example: 2022-05-12T16:56:45.99Z + ChargeAuthentication: + required: + - id + - type + type: object + properties: + type: + type: string + description: The method type used to authenticate a charge + example: vehicleId + enum: + - vehicleId + - rfid + - app + id: + type: string + description: The id of the chosen authentication method + example: 2C:54:91:88:C9:E3 + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + ChargeAuthenticationType: + type: string + enum: + - rfid + - vehicleId + ChargeBreakdown: + required: + - chargeId + - costBreakdown + - priceBreakdown + type: object + properties: + chargeId: + required: + - "true" + type: integer + description: The charge id associated with this charge breakdown + format: int64 + example: 10001 + priceBreakdown: + allOf: + - $ref: '#/components/schemas/DetailedBreakdown' + - description: "The price breakdown, Includes information necessary to understand\ + \ the composition of the final charge price" + costBreakdown: + allOf: + - $ref: '#/components/schemas/DetailedBreakdown' + - description: The cost breakdown is similar to the price breakdown but + focuses on the costs incurred for the given charge + ChargeCost: + required: + - time + type: object + properties: + time: + type: string + description: Hour for the sum of the cost + format: date-time + example: 2022-05-12T15:00:00Z + value: + type: number + description: Sum of cost for this hour + format: double + example: 15.8 + ChargeMetadata: + required: + - type + type: object + properties: + id: + type: integer + description: The id of the the charge + format: int64 + example: 1 + kwh: + type: number + description: The total kwh for the charge + format: double + example: 13.77 + type: + allOf: + - $ref: '#/components/schemas/MetadataTypeDto' + - description: The type of this metadata + ChargePoint: + required: + - connectors + - createdAt + - deeplinks + - evseId + - location + - updatedAt + - visibility + type: object + properties: + id: + type: integer + description: Id of this charge point + format: int64 + example: 1 + teamId: + type: integer + description: Id of the team + format: int64 + example: 1 + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + siteId: + type: integer + description: Id of the site + format: int64 + nullable: true + example: 42 + operator: + nullable: true + allOf: + - $ref: '#/components/schemas/Operator' + - description: Operator of this charge point + createdAt: + type: string + description: Creation date of this charge point + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Date this charge point was last updated + format: date-time + example: 2022-05-12T16:56:45.99Z + deletedAt: + type: string + description: Date this charge point was deleted + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + activeAt: + type: string + description: Last date when charge point was activated + format: date-time + nullable: true + example: 2022-05-12T15:56:45.91Z + serialNumber: + type: string + description: Serial number of this charge point + nullable: true + name: + type: string + description: Name of the charge point + nullable: true + example: Monta CPH HQ + visibility: + type: string + description: Indicates if this charge point is `public` or `private` + example: public + enum: + - private + - public + maxKW: + type: number + description: "Deprecated (will be removed by 01.04.24), use `maxKw` field\ + \ instead." + format: double + nullable: true + example: 150 + deprecated: true + x-sunset: 2024-04-01 + maxKw: + type: number + description: Max KW available at this charge point. + format: double + nullable: true + example: 150 + type: + type: string + description: Type of charge point (`AC` / `DC`) + nullable: true + example: ac + enum: + - ac + - dc + note: + type: string + description: "A note you have entered for this charge point, e.g. via our\ + \ Portal." + nullable: true + example: In order to access this charge point enter 0000 as code at the + gate. + operatorNote: + type: string + description: "An operator note you have entered for this charge point, e.g.\ + \ via our Portal." + nullable: true + example: "Installer note: XYZ" + state: + nullable: true + allOf: + - $ref: '#/components/schemas/ChargePointState' + - type: string + description: State of the charge point + example: available + location: + allOf: + - $ref: '#/components/schemas/Location' + - description: Location information for this charge point + connectors: + type: array + description: "List of supported connector types at this charge point (e.g.\ + \ type-2, ccs, ...)" + items: + $ref: '#/components/schemas/ChargePointConnector' + deeplinks: + allOf: + - $ref: '#/components/schemas/ChargePointDeeplinks' + - description: Deeplinks to open charge screen in Monta app or web. + lastMeterReadingKwh: + type: number + description: Last meter reading (KWH) for this charge point + format: double + nullable: true + example: 913.2 + cablePluggedIn: + type: boolean + description: Indicates if a cable is plugged in (true) + example: true + chargePointModelId: + type: integer + description: The ID of the charge point model for this charge point. + format: int64 + nullable: true + example: 42 + brandName: + type: string + description: Brand name for this charge point + nullable: true + example: Easee + modelName: + type: string + description: Model name for this charge point + nullable: true + example: Easee - Home + firmwareVersion: + type: string + description: Current firmware version for this charge point + nullable: true + example: v1 + integrationType: + nullable: true + allOf: + - $ref: '#/components/schemas/ChargePointIntegrationType' + - description: "Indicates what kind of integration this charge point is\ + \ using (e.g oicp, ocpi, Note: null meaning not integrated)" + example: oicp + evseId: + type: string + description: The EVSE id for this charge point + example: DK*MON*E2 + priceGroupId: + type: integer + description: The id of the public price group for this charge point + format: int64 + nullable: true + example: 42 + costGroupId: + type: integer + description: The id of the cost price group for this charge point + format: int64 + nullable: true + example: 42 + roamingPriceGroupId: + type: integer + description: The id of the roaming price group for this charge point + format: int64 + nullable: true + example: 42 + sponsoredPriceGroupId: + type: integer + description: The id of the sponsored price group for this charge point + format: int64 + nullable: true + example: 42 + isActive: + type: boolean + description: Indicates if this charge point is active (true) or not (false). + Active = fully onboarded to Monta. + example: true + reservable: + type: boolean + description: Indicates if the charge point can be reserved + example: true + reservationTime: + type: integer + description: The max duration(in minutes) that this Charge Point can be + reserved for
`null` indicates that reservation is not supported. + format: int32 + nullable: true + ChargePointBrand: + required: + - identifier + - name + type: object + properties: + id: + type: integer + description: The id of the charge point brand + format: int64 + example: 1 + identifier: + type: string + description: The identifier of the charge point brand + example: rolec + name: + type: string + description: The name of the charge point brand + example: Rolec + createdAt: + type: string + description: Creation date of this charge point brand + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Update date of this charge point brand + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + ChargePointConnector: + required: + - identifier + - name + type: object + properties: + id: + type: integer + description: Id of this connector + format: int64 + example: 1 + identifier: + type: string + description: Identifier of connector + example: ccs + name: + type: string + description: Readable name of connector + example: CCS + ChargePointDeeplinks: + required: + - app + - web + type: object + properties: + app: + type: string + description: Follow this link to open the Monta App with this charge point + format: uri + web: + type: string + description: Follow this link to open the Monta Web App with this charge + point + format: uri + ChargePointIntegration: + required: + - chargePoint + - createdAt + - integrationTypeIdentifier + - serialNumber + - state + type: object + properties: + id: + type: integer + description: The id of this charge point integration + format: int64 + example: 1 + state: + allOf: + - $ref: '#/components/schemas/ChargePointIntegrationStateDto' + - description: The current state of the charge point integration + example: connected + serialNumber: + type: string + description: The serial number of this charge point integration + example: "46964534" + integrationTypeIdentifier: + type: string + description: The integration type (method) used + example: ocpp + connectorId: + type: integer + description: The connector id for this charge point integration + format: int32 + nullable: true + example: 1 + chargePoint: + allOf: + - $ref: '#/components/schemas/ChargePoint' + - description: The charge point associated to this integration + activeAt: + type: string + description: The Date this charge point integration was set to active + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + createdAt: + type: string + description: The Creation date of this charge point integration + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: The Date this charge point integration was last updated + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + deletedAt: + type: string + description: The Date this charge point integration was deleted + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + ChargePointIntegrationStateDto: + type: string + description: Enumerate the possible states for a charge point integration + enum: + - pending + - connected + - disconnected + - error + - unknown + ChargePointIntegrationType: + type: string + enum: + - oicp + - ocpi + - ocpp + - other + ChargePointModel: + required: + - brand + - features + - identifier + - name + type: object + properties: + id: + type: integer + description: The id of the charge point model + format: int64 + example: 1 + identifier: + type: string + description: The identifier of the charge point model + example: rolec_securicharge_ev_dual + name: + type: string + description: "The name of the charge point model, name is composed by (Brand\ + \ name - Model name)" + example: SecuriCharge Dual + brand: + allOf: + - $ref: '#/components/schemas/ChargePointModelDto.ChargePointBrandDto' + - description: The brand of the charge point model + features: + type: array + description: "The supported features by this charge point model, only supported\ + \ features will be included" + items: + $ref: '#/components/schemas/ChargePointModelFeature' + createdAt: + type: string + description: Creation date of this charge point model + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Update date of this charge point model + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + ChargePointModelDto.ChargePointBrandDto: + required: + - name + type: object + properties: + id: + type: integer + description: The id of the charge point brand + format: int64 + example: 1 + name: + type: string + description: The name of the charge point brand + example: Rolec + ChargePointModelFeature: + required: + - key + type: object + properties: + key: + type: string + description: The key that identifies this feature + example: firmware_management + description: + type: string + description: The description for this feature + nullable: true + example: Firmware updates remotely + requirements: + type: string + description: The requirements for this feature + nullable: true + example: Support UpdateFirmware functionality + enabled: + type: boolean + description: The current status of the feature + example: true + ChargePointState: + type: string + description: "Various types of Charge Point states. Definitions: \n\n* `available`\ + \ - The charge point is available for charging. \n* `busy` - The charge point\ + \ is currently in use. \n* `busy-blocked` - The charge point is currently\ + \ in use and blocked. \n* `busy-charging` - The charge point is currently\ + \ in use and charging. \n* `busy-non-charging` - The charge point is currently\ + \ in use and not charging. \n* `busy-non-released` - The charge point is currently\ + \ in use and not released. \n* `busy-reserved` - The charge point is currently\ + \ in use and reserved. \n* `busy-scheduled` - The charge point is currently\ + \ in use and scheduled. \n* `error` - The charge point is in an error state.\ + \ \n* `disconnected` - The charge point is disconnected from Monta. \n* `passive`\ + \ - The charge point is in a passive state, charging can only be controlled\ + \ locally. \n* `maintenance` - The charge point is in maintenance mode. \n\ + * `other` - Fallback value, Indicates a new type was added but is not mapped/unknown\ + \ on this API yet. \n" + enum: + - available + - busy + - busy-blocked + - busy-charging + - busy-non-charging + - busy-non-released + - busy-reserved + - busy-scheduled + - error + - disconnected + - passive + - maintenance + - other + ChargePrice: + required: + - time + type: object + properties: + time: + type: string + description: Hour for the sum of the price + format: date-time + example: 2022-05-12T15:00:00Z + value: + type: number + description: Sum of price for this hour + format: double + example: 15.8 + ChargeStateDto: + type: string + description: Enumerate the various types of charge state + enum: + - paying + - reserved + - starting + - charging + - stopping + - paused + - scheduled + - stopped + - releasing + - released + - completed + - other + ChargeType: + type: string + enum: + - external + - operator + - sponsored + ChargesInsight: + required: + - currency + - fromDate + - insights + - operator + - title + - toDate + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ChargesInsightTypeDto' + - description: The type of charge insight + example: completed-charges-insights + fromDate: + type: string + description: "Indicates the starting period (`fromDate`) used calculate\ + \ the insights, format (YYYY-MM-DD)

*Note*: The date will be\ + \ always in UTC" + format: date + example: 2023-11-01 + toDate: + type: string + description: "Indicates the end period (`toDate`) used calculate the insights,\ + \ format (YYYY-MM-DD), always in UCT

*Note*: The date will be\ + \ always in UTC" + format: date + example: 2023-11-01 + title: + type: string + description: The title for for this charge insight + example: Completed charge sessions insights + operator: + allOf: + - $ref: '#/components/schemas/Operator' + - description: The operator to which this charge insight belongs to + currency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: The currency applicable for this charge insight + insights: + required: + - "true" + type: array + description: The compilation of insights entries composing this charge insight + items: + $ref: '#/components/schemas/ChargesInsightEntry' + ChargesInsightChargerReport: + required: + - chargePointId + - consumptions + - teamId + type: object + properties: + teamId: + required: + - "true" + type: integer + description: Team ID used for this report + format: int64 + chargePointId: + required: + - "true" + type: integer + description: ID of the Charge Point + format: int64 + lastChargeAt: + required: + - "false" + type: string + description: Date time of the last charge at this charge point during the + report period. Null if no charges were made. + format: date-time + nullable: true + consumptions: + required: + - "true" + type: array + description: Charge consumptions + items: + $ref: '#/components/schemas/ChargesInsightChargerReportDto.Consumption' + ChargesInsightChargerReportDto.Consumption: + required: + - totalKwh + - totalSessions + type: object + properties: + totalSessions: + required: + - "true" + type: integer + description: Number of charging sessions + format: int64 + totalKwh: + required: + - "true" + type: number + description: Sum of all Kwh consumed + format: double + ChargesInsightDriverReport: + required: + - consumptions + - teamId + - teamMemberId + - userId + type: object + properties: + teamId: + required: + - "true" + type: integer + description: Team ID used for this report + format: int64 + teamMemberId: + required: + - "true" + type: integer + description: Team Member ID of the Driver + format: int64 + userId: + required: + - "true" + type: integer + description: User ID of the Driver + format: int64 + consumptions: + required: + - "true" + type: array + description: Charge consumptions grouped by `chargeType` + items: + $ref: '#/components/schemas/ChargesInsightDriverReportDto.Consumption' + ChargesInsightDriverReportDto.Consumption: + required: + - chargeType + - totalGrossPrice + - totalKwh + - totalNetPrice + - totalSessions + - totalVat + type: object + properties: + chargeType: + required: + - "true" + type: string + description: "Defines the type of charge, ie. if it was a sponsored or public\ + \ charge. \n\ndefinitions: \n* `sponsored` - Charges that have been sponsored.\ + \ \n* `team-operator` - Charges that belong to Charge Points of the same\ + \ operator as paying team operator. \n* `public` - Any charge that was\ + \ paid for by this team that does not match the other cases. \n\nNote\ + \ that more chargeTypes might be added in the future. Make sure to handle\ + \ this gracefully." + totalSessions: + required: + - "true" + type: integer + description: Number of charging sessions + format: int64 + totalKwh: + required: + - "true" + type: number + description: Sum of all Kwh consumed + format: double + totalNetPrice: + required: + - "true" + type: number + description: Sum of all charge net prices + format: double + totalVat: + required: + - "true" + type: number + description: Sum of all charge vat amounts + format: double + totalGrossPrice: + required: + - "true" + type: number + description: Sum of all charge gross prices + format: double + ChargesInsightEntry: + required: + - summary + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ChargesInsightEntryTypeDto' + - description: The type for this insight entry + example: completed-sponsored-charges-insights + summary: + allOf: + - $ref: '#/components/schemas/ChargesInsightSummary' + - description: "The summary for this insight entry, The summary contains\ + \ the compiled statistics for the entry" + ChargesInsightEntryTypeDto: + type: string + description: Enumerate the various types of charge insights + enum: + - total-completed-sponsored-charges + - total-completed-operator-charges + - total-completed-external-charges + - total-completed-charges + - unknown + ChargesInsightSummary: + required: + - totalCost + - totalKwh + - totalPrice + - totalSessions + type: object + properties: + totalKwh: + required: + - "true" + type: number + description: The total kWh charged for this entry + format: double + example: 10.5 + totalPrice: + required: + - "true" + type: integer + description: The total price for this entry + format: int64 + example: 50 + totalCost: + required: + - "true" + type: integer + description: The total cost for this entry + format: int64 + example: 25 + totalSessions: + required: + - "true" + type: integer + description: The total sessions for this entry + format: int64 + ChargesInsightTypeDto: + type: string + description: Enumerate the various types of charges insights + enum: + - completed-charges-insights + - unknown + Component: + required: + - description + - masterPricing + - price + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ComponentTypeDto' + - description: The type of price/fee for this component + example: tariff + price: + required: + - "true" + type: integer + description: The price of this component + format: int64 + example: 1200 + description: + required: + - "true" + type: string + description: The readable description of this component + example: Tariff for 10 kwh charged at 1.20 DKK + masterPricing: + required: + - "true" + type: boolean + description: Indicates this component is master a master pricing + example: true + tag: + nullable: true + allOf: + - $ref: '#/components/schemas/PriceGroupTag' + - description: The tag for this component + metadata: + nullable: true + allOf: + - $ref: '#/components/schemas/ComponentMetadataDto' + - description: "Additional information (metadata) for this component, e.g\ + \ tariffId, kwh and others" + ComponentMetadataDto: + required: + - type + type: object + properties: + type: + $ref: '#/components/schemas/ComponentMetadataTypeDto' + discriminator: + propertyName: type + mapping: + spot-price-additional-price-metadata: '#/components/schemas/SpotPriceAdditionalPercentageComponentMetadata' + spot-price-metadata: '#/components/schemas/SpotPriceComponentMetadata' + tariff-metadata: '#/components/schemas/TariffComponentMetadata' + default-metadata: '#/components/schemas/DefaultComponentMetadata' + duration-fee-metadata: '#/components/schemas/DurationFeeComponentMetadata' + idle-fee-metadata: '#/components/schemas/IdleFeeComponentMetadata' + oneOf: + - $ref: '#/components/schemas/SpotPriceComponentMetadata' + - $ref: '#/components/schemas/SpotPriceAdditionalPriceComponentMetadata' + - $ref: '#/components/schemas/SpotPriceAdditionalPercentageComponentMetadata' + - $ref: '#/components/schemas/DurationFeeComponentMetadata' + - $ref: '#/components/schemas/IdleFeeComponentMetadata' + - $ref: '#/components/schemas/TariffComponentMetadata' + - $ref: '#/components/schemas/DefaultComponentMetadata' + ComponentMetadataTypeDto: + type: string + description: "Enumerate the various types of metadata.The content of metadata\ + \ payloads may differ depending on the typefor example, a tariff payload is\ + \ different from a spot-price payload. This type offers reliable means to\ + \ associate the metadata with the appropriate model class" + enum: + - tariff-metadata + - spot-price-metadata + - spot-price-additions-metadata + - idle-fee-metadata + - duration-fee-metadata + - default-metadata + ComponentTypeDto: + type: string + description: 'Enumerate the various component types.component types identify + the component inside a break down ' + enum: + - tariff + - spot-price + - spot-price-additions-absolute + - spot-price-additions-percent + - time-based-tariff + - fixed-kwh + - fee + - starting-fee + - duration-fee + - fixed-charging-fee + - idle-fee + - adjustment + - other + Consumer: + required: + - clientId + - createdAt + - name + - scopes + - teamIds + type: object + properties: + name: + type: string + description: A name for this credential (e.g. Monta Team A) + example: Monta Team A + operatorId: + type: integer + description: Your operator id + format: int64 + example: 42 + teamIds: + type: array + description: "List of team ids that are unlocked for API operations. If\ + \ empty, all teams of this operator are unlocked." + items: + type: integer + format: int64 + example: 3342 + clientId: + type: string + description: Your client id + example: 2cae3a14-3dfd-414b-8965-7814370ec324 + rateLimit: + type: integer + description: Rate-limit for your account; requests per `rateLimitIntervalInSeconds` + format: int64 + example: 1000 + rateLimitIntervalInSeconds: + type: integer + description: Rate-limit interval for your `rateLimit` + format: int64 + example: 600 + scopes: + type: array + description: List of scopes for this account + items: + type: string + example: charge-points + enum: + - all + - charge-points + - map + - charge-transactions + - wallet-transactions + - control-charging + createdAt: + type: string + description: Creation date of this consumer + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Update date of this consumer + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + Coordinates: + type: object + properties: + latitude: + type: number + description: Latitude value of coordinate + format: double + example: 55.6760968 + longitude: + type: number + description: Longitude value of coordinate + format: double + example: 12.5683371 + Country: + required: + - alpha2Code + - id + - name + type: object + properties: + id: + required: + - "true" + type: integer + description: Id of the country + format: int64 + example: 1 + name: + required: + - "true" + type: string + description: Name of the country + example: Bangladesh + alpha2Code: + required: + - "true" + type: string + description: "Country code in Alpha-2 format, following ISO-3166" + example: dk + CountryArea: + required: + - countryId + - id + - level + - name + type: object + properties: + id: + required: + - "true" + type: integer + description: Id of the country area + format: int64 + example: 1 + countryId: + required: + - "true" + type: integer + description: Id of the country for the country area + format: int64 + example: 194 + name: + required: + - "true" + type: string + description: Name of the country area + example: United Kingdom + externalId: + type: string + description: The external id of the country area + nullable: true + example: GB + level: + allOf: + - $ref: '#/components/schemas/CountryAreaLevel' + - description: The level of depth for this country area + example: bidding-area + CountryAreaLevel: + type: string + enum: + - bidding-area + - dso + - tso + - other + CreateAdditionalPricingDto: + required: + - type + - value + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/AdditionalPricingType' + - description: Type of the additional pricing. `absolute` means the value + is a price. + example: percentage + value: + required: + - "true" + type: number + description: The value of this additional pricing. + CreateChargeAuthToken: + required: + - identifier + - teamId + - type + type: object + properties: + teamId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the team the charge auth token belongs + format: int64 + example: 42 + userId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Id of the user the charge auth token should be associated to + format: int64 + nullable: true + example: 1 + identifier: + minLength: 1 + pattern: "^(?!VID:)[\\s\\S]*" + required: + - "true" + type: string + description: "Identifier of the the charge auth token, Note: without prefix\ + \ e.g `VID:`" + example: 38C58DB85F4 + type: + allOf: + - $ref: '#/components/schemas/ChargeAuthenticationType' + - description: Type of the charge auth token + example: vehicleId + name: + type: string + description: Name of the charge auth token + nullable: true + example: Monta Office Charge Key + montaNetwork: + type: boolean + description: If the charge auth token should be active in the Monta network + example: true + default: true + roamingNetwork: + type: boolean + description: If the charge auth token should be active in the Roaming network + example: true + default: true + operatorNetwork: + type: boolean + description: Indicates that the charge auth token can be used on other teams + charge points underthe same operator + nullable: true + example: true + default: true + activeUntil: + type: string + description: "Indicates until when this charge auth token should be active,\ + \ null means indefinitely" + format: date-time + nullable: true + example: 2023-01-11T00:00:00Z + blockedAt: + type: string + description: | + If the charge auth token is blocked, it will not be able to charge. + * `null` = not blocked + * date-time = blocked since date-time + format: date-time + nullable: true + example: 2023-01-11T00:00:00Z + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + CreateChargePoint: + required: + - chargePointModelId + - maxKw + - name + - siteId + - teamId + - type + - visibility + type: object + properties: + teamId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the team that the charge point belongs to + format: int64 + example: 13 + siteId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the site the charge point belongs to + format: int64 + example: 20 + chargePointModelId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the charge point model + format: int64 + example: 20 + name: + minLength: 1 + required: + - "true" + type: string + description: Name of the charge point + example: CP - CPH Office + maxKw: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: number + description: Max Kw (Max Power) the charge point can output + format: double + example: 22 + visibility: + allOf: + - $ref: '#/components/schemas/VisibilityType' + - description: Visibility type of the charge point + example: private + type: + allOf: + - $ref: '#/components/schemas/ElectricCurrentType' + - description: Electric current type the charge point support + example: ac + active: + type: boolean + description: Indicates the charge point is active + nullable: true + example: true + default: true + showOnMap: + type: boolean + description: "\n Indicates the charge point should be displayed\ + \ on map.\n \n By setting this to false, the charge\ + \ point will not be shown on the app's map, \n but will still\ + \ be fully functional for users of the charge point.\n " + nullable: true + example: true + default: true + connectorIds: + type: array + description: "\n Ids of the connectors this charge point support,\ + \ \n When not present the provide charge point model connectors\ + \ will be used instead. \n " + nullable: true + example: "[1,2,3,4]" + items: + type: integer + format: int64 + note: + type: string + description: "A note (instructions, warning, information) you have entered\ + \ for this charge point" + nullable: true + example: In order to access this charge point enter 0000 as code at the + gate. + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + CreateInstallerJobDto: + required: + - siteId + type: object + properties: + siteId: + required: + - "true" + type: integer + description: Site id of the site where the installer job will be created. + format: int64 + example: 13 + description: + type: string + description: "A description of the installer job, visible for the installer." + nullable: true + example: You will find the site in Parking Lot 2A. You can contact the site + manager at 123456789. + email: + type: string + description: "The email of the installer. If provided, an email will be\ + \ sent to the installerwith the description of the installer job." + nullable: true + example: installer@acme.com + CreateOrUpdateChargePointIntegration: + required: + - chargePointId + - chargePointModelId + - serialNumber + type: object + properties: + chargePointId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the charge point to setup the integration + format: int64 + example: 13 + chargePointModelId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the charge point model to be integrated + format: int64 + example: 20 + serialNumber: + minLength: 1 + required: + - "true" + type: string + description: The serial number for the charge point integration + example: "46964534" + connectorId: + minimum: 0 + exclusiveMinimum: true + required: + - "false" + type: integer + description: Connector id for the charge point integration. when `null` + the `connectorId` will default to `1` + format: int32 + nullable: true + example: 1 + autoConnect: + required: + - "false" + type: boolean + description: "Indicates that an attempt to connect the charge point should\ + \ happen, when `autoConnect` is set to true the Charge Point needs to\ + \ point to Monta (via OCPP websocket)

Note: when false the integration\ + \ will be create but the state will be to `pending`" + nullable: true + example: true + default: true + CreateOrUpdatePriceGroupDto: + required: + - masterPrice + - name + - teamId + - type + type: object + properties: + teamId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Team ID + format: int64 + example: 1 + name: + required: + - "true" + type: string + description: Name of the price group + example: Public Price Group + type: + allOf: + - $ref: '#/components/schemas/PriceGroupType' + - description: Type of the price group + example: public + masterPrice: + allOf: + - $ref: '#/components/schemas/CreateOrUpdatePricingDto' + - description: The master price + fees: + required: + - "false" + type: array + description: All the fees for the price group + nullable: true + items: + $ref: '#/components/schemas/CreateOrUpdatePricingDto' + CreateOrUpdatePricingDto: + required: + - endAtFullyCharged + - price + - type + - vat + type: object + properties: + description: + required: + - "false" + type: string + description: Name of the pricing. It is null when it's the master price + nullable: true + example: Starting Fee + type: + allOf: + - $ref: '#/components/schemas/PricingType' + - description: Type of the pricing. `minute` is used for Minute fee. `min` + is used for the master price. + example: kwh + endAtFullyCharged: + required: + - "true" + type: boolean + description: Used by the Minute fee. True means it will stop charging the + fee when the charge is complete. False means it will stop charging the + fee when the cable is unplugged + example: false + vat: + required: + - "true" + type: boolean + description: Used by Spot Price. True means it will add 25% VAT in the price + calculations + example: false + percentage: + required: + - "false" + type: number + description: Used by Spot Price. It will multiply the fallback price by + this percentage + nullable: true + example: 10.2 + default: 100 + tariffId: + minimum: 0 + exclusiveMinimum: true + required: + - "false" + type: integer + description: The id of the selected Tariff + format: int64 + nullable: true + example: 5 + tagId: + minimum: 0 + exclusiveMinimum: true + required: + - "false" + type: integer + description: The id of the selected charge pricing tag + format: int64 + nullable: true + example: 10 + applyAfterMinutes: + required: + - "false" + type: integer + description: "Used by Charging, Minute and Idle Fees. After how many minutes\ + \ the fee should start being applied." + format: int32 + nullable: true + example: 30 + price: + required: + - "true" + type: number + description: "The price of this Fee or Master price,
**Note**: the\ + \ master price cannot be a negative value" + priceMin: + required: + - "false" + type: number + description: Used by spot price. The minimum that the raw spot price can + be. This will be used in calculations if spot price is lower than this + nullable: true + priceMax: + required: + - "false" + type: number + description: Used by spot price. The maximum that the raw spot price can + be. This will be used in calculations if spot price is higher than this + nullable: true + feePriceMax: + required: + - "false" + type: number + description: Used by Idle fee. The maximum the user will be charged for + the idle fee + nullable: true + additional: + required: + - "false" + type: array + description: Used by spot price. Additional absolute money or percentages + values to be added on top of the previous calculations + nullable: true + items: + $ref: '#/components/schemas/CreateAdditionalPricingDto' + from: + required: + - "false" + type: string + description: DateTime "from" time to which this pricing should apply from + format: date-time + nullable: true + example: 2023-03-16T15:37:23Z + to: + required: + - "false" + type: string + description: DateTime "to" time to which this pricing should apply to + format: date-time + nullable: true + example: 2023-03-16T15:37:23Z + CreatePriceGroupTag: + required: + - name + type: object + properties: + name: + minLength: 1 + type: string + description: Name of the tag. names are unique and cannot be reused. + example: Energy + description: + type: string + description: Description of the tag. + nullable: true + example: Can be used to group `Energy` pricing elements + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + CreateSite: + required: + - address + - name + - teamId + - visibility + type: object + properties: + teamId: + required: + - "true" + type: integer + description: Id of the team that the site belongs to + format: int64 + example: 13 + name: + minLength: 1 + required: + - "true" + type: string + description: Name of the site + example: Monta CPH Site + address: + allOf: + - $ref: '#/components/schemas/CreatedOrUpdateAddress' + - description: "Address of the site, Note: please ensure to always provide\ + \ a valid address" + visibility: + allOf: + - $ref: '#/components/schemas/VisibilityType_1' + - description: Visibility type of the site + example: private + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + CreateSponsoredChargePointDto: + required: + - payoutSchedule + type: object + properties: + sponsoringTeamId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Id of the team that is sponsoring this charge point + format: int64 + example: 1 + chargePointId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Id of the charge point to be sponsored + format: int64 + example: 1 + userId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Id of the user to have a charge point sponsored + format: int64 + example: 1 + priceGroupId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: "The price group for this sponsorship, Only price groups of\ + \ type `reimbursement` or `sponsored` are allowed

*Note:* if\ + \ the `priceGroupId` is null the charge point cost price group will be\ + \ used instead, if the charge point has no cost price group set the request\ + \ will fail, please ensure that charge point has a valid cost group assigned\ + \ when not providing a `priceGroupId`" + format: int64 + nullable: true + example: 1 + payoutSchedule: + allOf: + - $ref: '#/components/schemas/SponsoredChargePointPayoutType' + - description: The payout schedule for this sponsored charge point + example: realtime + payForSubscriptions: + type: boolean + description: Indicates that company pay for subscriptions + example: false + default: false + CreateSubscription: + required: + - customerType + type: object + properties: + planId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Id of the plan to subscribe to + format: int64 + customerType: + allOf: + - $ref: '#/components/schemas/SubscriptionCustomerType' + - description: Type of customer the subscription is created for.Currently + you can create subscriptions for charge-points only. + customerId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: "Id of the customer the subscription is created for, e.g. a\ + \ chargePointId" + format: int64 + discountAbsolute: + minimum: 0 + exclusiveMinimum: true + required: + - "false" + type: number + description: "Allows to modify the absolute discount on a subscription if\ + \ provided.\n If not provided, the discount of the plan is\ + \ used.\n Note: If you want to set it on an existing subscription,\ + \ you have to cancel the subscription first.\n " + format: double + nullable: true + discountPercentage: + minimum: 0 + exclusiveMinimum: true + required: + - "false" + type: number + description: "Allows to modify the percentage discount on a subscription\ + \ if provided.\n If not provided, the discount of the plan\ + \ is used.\n Note: If you want to set it on an existing subscription,\ + \ you have to cancel the subscription first.\n " + format: double + nullable: true + serviceConfig: + nullable: true + allOf: + - $ref: '#/components/schemas/SubscriptionServiceConfig' + - description: "Configure the subscription, based on the plans serviceType.Currently\ + \ you can configure tax-refund subscriptions only." + CreateTariffPricesRequest: + required: + - end + - start + type: object + properties: + start: + required: + - "true" + type: string + description: Start date that marks when prices should be created for a tariff + (yyyy-MM-dd) + format: date + example: 2023-01-01 + end: + required: + - "true" + type: string + description: End date that marks when prices should be created for a tariff + (yyyy-MM-dd) + format: date + example: 2023-01-31 + CreateTariffRequest: + required: + - area + - countryId + - currencyId + - description + - externalId + - name + - pricesWithVat + - timeZone + - zipCodes + type: object + properties: + externalId: + required: + - "true" + type: string + description: external id + example: "1" + name: + required: + - "true" + type: string + description: 'Radius Elnet A/S ' + example: "" + description: + required: + - "true" + type: string + description: Short description of this tariff + example: Net tariff A high + countryId: + required: + - "true" + type: integer + description: Id of the country where the tariff is applicable + format: int64 + example: 1 + countryAreaId: + required: + - "false" + type: integer + description: Id of the country area where the tariff is applicable + format: int64 + nullable: true + example: 1 + currencyId: + required: + - "true" + type: integer + description: Id of the currency in which the tariff is applicable + format: int64 + example: 1 + teamId: + required: + - "false" + type: integer + description: Team id + format: int64 + nullable: true + example: 1 + pricesWithVat: + required: + - "true" + type: boolean + description: Indication if prices are with vat + example: true + zipCodes: + required: + - "true" + type: array + description: Zip codes where this tariff is applicable + example: "[\"2200\", \"2100\"]" + items: + type: string + tariffType: + allOf: + - $ref: '#/components/schemas/TariffType' + - description: Dynamic or weekly + example: WEEKLY + active: + required: + - "false" + type: boolean + description: Indication if this tariff is active + example: false + timeZone: + required: + - "true" + type: string + description: What time zone is the tariff active in + example: Europe/Copenhagen + area: + required: + - "true" + type: string + description: Human description of the area the tariff is active in + example: Fyn + customerType: + nullable: true + allOf: + - $ref: '#/components/schemas/TariffCustomerType' + - description: What kind of customer types are the tariff for? + example: c_customer + CreateTeamDto: + required: + - address + - contactEmail + - name + - type + type: object + properties: + userId: + type: integer + description: Id of the user that owns the team + format: int64 + nullable: true + example: 42 + userEmail: + type: string + description: "email of the user that owns the team, useful when the userId\ + \ is not known" + format: email + nullable: true + example: user@monta.com + name: + minLength: 1 + type: string + description: Name of the team + example: Monta CPH Team + contactEmail: + type: string + description: Contact email of the team + format: email + example: contact@monta.com + type: + allOf: + - $ref: '#/components/schemas/TeamType.Creatable' + - description: type of the team + example: private + address: + allOf: + - $ref: '#/components/schemas/CreatedOrUpdateAddress' + - description: "Address of the team, Note: be sure to add always a valid\ + \ address" + companyName: + type: string + description: The company name for the team + nullable: true + example: Monta ApS + vatNumber: + type: string + description: The vat number for the team + nullable: true + example: DK13585628 + financeEmail: + type: string + description: finance contact email of the team + format: email + nullable: true + example: finance_contact@monta.com + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + CreateTeamMember: + required: + - role + type: object + properties: + teamId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Id of the team that the user will be invited + format: int64 + example: 1 + userId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: "Id of the user to be invited
*Note*: When inviting by\ + \ `userId` the fields `email` or `phone` must not be provided." + format: int64 + nullable: true + example: 1 + email: + type: string + description: "Email of the user to be invited
*Note*: When inviting\ + \ by `email` the fields `userId` or `phone` must not be provided." + format: email + nullable: true + example: partner-api@monta.com + phone: + pattern: "^\\+[1-9]\\d{1,14}$" + type: string + description: "Phone of the user to be invited
*Note*: When inviting\ + \ by `phone` the fields `userId` or `email` must not be provided." + nullable: true + example: "+45123456789" + role: + allOf: + - $ref: '#/components/schemas/TeamMemberRole' + - description: Role for this member within the team + example: admin + priceGroupId: + type: integer + description: "The price group for this team member, when not provided the\ + \ default team price group will be applied" + format: int64 + nullable: true + example: 1 + canPayWithTeamWallet: + type: boolean + description: Gives the team member access to pay with team wallet when charging + example: false + default: false + canRequestSponsoring: + type: boolean + description: Allows the team member to request sponsoring from this team + for their charge point + example: false + default: false + canManageTeamMembers: + type: boolean + description: Allows the team member to view and manage other members settings + example: false + default: false + teamWalletChargePaymentType: + nullable: true + allOf: + - $ref: '#/components/schemas/TeamWalletChargePaymentType' + canManageTeamWallet: + type: boolean + description: Gives the team member access to withdraw and deposit from your + team wallet to your bank account + example: false + default: false + note: + type: string + description: A note for the team member + nullable: true + example: Welcome to the Monta team + chargePointIds: + required: + - "false" + type: array + description: Ids of the charge point this team member with will have access + nullable: true + example: "[1,2,3,4]" + items: + type: integer + format: int64 + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + CreatedOrUpdateAddress: + required: + - address1 + - city + - countryId + - zipCode + type: object + properties: + address1: + minLength: 1 + required: + - "true" + type: string + description: First line of address + example: Strandboulevarden 122 + address2: + minLength: 1 + required: + - "false" + type: string + description: Second line of address + nullable: true + example: København + address3: + minLength: 1 + required: + - "false" + type: string + description: Third line of address + nullable: true + example: 5. sal + city: + minLength: 1 + type: string + description: The city name + example: Berlin + zipCode: + minLength: 1 + required: + - "true" + type: string + description: The address zip code + example: "10011" + countryId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: "The country id, Note" + format: int64 + example: 194 + Currency: + required: + - identifier + - name + type: object + properties: + identifier: + type: string + description: "Currency identifier, e.g. dkk" + example: dkk + name: + type: string + description: Readable name of currency + example: Danish krone + decimals: + type: integer + description: Number of decimals for this currency + format: int32 + example: 2 + CurrencyDto_3: + type: object + properties: + id: + minimum: 0 + exclusiveMinimum: true + required: + - "false" + type: integer + description: id of the currency + format: int64 + nullable: true + example: 1 + identifier: + type: string + description: "Currency identifier, e.g. DKK" + nullable: true + example: DKK + name: + type: string + description: Readable name of currency + nullable: true + example: Danish krone + decimals: + type: integer + description: Number of decimals for this currency + format: int32 + example: 2 + CurrencyDto_4: + type: object + properties: + id: + minimum: 0 + exclusiveMinimum: true + required: + - "false" + type: integer + description: id of the currency + format: int64 + nullable: true + example: 1 + identifier: + type: string + description: "Currency identifier, e.g. DKK" + nullable: true + example: DKK + name: + type: string + description: Readable name of currency + nullable: true + example: Danish krone + decimals: + type: integer + description: Number of decimals for this currency + format: int32 + example: 2 + DayOfWeek: + type: string + enum: + - MONDAY + - TUESDAY + - WEDNESDAY + - THURSDAY + - FRIDAY + - SATURDAY + - SUNDAY + DefaultComponentMetadata: + required: + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ComponentMetadataTypeDto' + - description: The type of this metadata entry + example: default + kwh: + type: number + description: The kwh for this metadata entry + format: double + nullable: true + example: 12.5 + price: + type: integer + description: The kwh for this metadata entry + format: int64 + nullable: true + example: 1200 + DetailedBreakdown: + required: + - adjustments + - breakdown + - currency + - fees + - summary + type: object + properties: + summary: + allOf: + - $ref: '#/components/schemas/BreakdownSummary' + - description: The summary of the total prices for this breakdown + currency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: "The currency applicable for this breakdown (for all the\ + \ components: prices, fees, adjustments)" + breakdown: + required: + - "true" + type: array + description: "The breakdown entries for this breakdown, currently organized\ + \ on an hourly basis" + items: + $ref: '#/components/schemas/Breakdown' + fees: + required: + - "true" + type: array + description: The fees that compose this breakdown + items: + $ref: '#/components/schemas/Component' + adjustments: + required: + - "true" + type: array + description: The adjustments applied for this breakdown + items: + $ref: '#/components/schemas/Component' + DriverReportDatesFilteredBy: + type: string + enum: + - charge-transaction + - wallet-transaction + DurationFeeComponentMetadata: + required: + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ComponentMetadataTypeDto' + - description: The type of this metadata entry + example: default-metadata + totalMinutes: + type: number + description: The total duration in minutes for this metadata entry + format: float + example: 12.5 + feePerMinute: + type: integer + description: For the fee per minute for this metadata entry + format: int64 + example: 10 + ElectricCurrentType: + type: string + enum: + - ac + - dc + FullTariff: + required: + - prices + - tariff + type: object + properties: + tariff: + allOf: + - $ref: '#/components/schemas/TariffDto' + - description: tariff + prices: + type: array + description: list of the tariff prices + items: + $ref: '#/components/schemas/Price' + priceSpecification: + nullable: true + allOf: + - $ref: '#/components/schemas/PriceSpecification' + - description: Price specification + GenericPaymentSession: + required: + - externalId + - provider + type: object + properties: + provider: + type: string + description: The provider of the payment session + example: logos + externalId: + type: string + description: The external id of the payment session. Allows retrieving receipts + via receipt.monta.com by using date and `externalId` or `cardLast4`. + example: | + 76BB1FCF-946D-4040-A8F7-8FD6ECDEE5B1 + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + cardBrand: + type: string + description: The brand of the card used for the payment session + nullable: true + example: VISA + cardLast4: + type: string + description: The last 4 digits of the card used for the payment session. + Allows retrieving receipts via receipt.monta.com by using date and `externalId` + or `cardLast4`. + nullable: true + example: "1234" + IdleFeeComponentMetadata: + required: + - from + - to + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ComponentMetadataTypeDto' + - description: The type of this metadata entry + example: default-metadata + amountPerMinute: + type: integer + description: The idle fee per minute for this metadata entry + format: int64 + minutes: + type: number + description: For how long the the charge stayed idle after fully charged + format: float + example: 10 + from: + type: string + description: The starting date for when the idle fee started to count + format: date-time + example: 2022-05-12T15:56:45.99Z + to: + type: string + description: The end date for when the idle fee stopped counting + format: date-time + example: 2022-05-12T15:56:45.99Z + InstallerJob: + required: + - createdAt + - operator + - publicLink + - tasks + type: object + properties: + id: + type: integer + description: Id of this installer job + format: int64 + example: 42 + siteId: + type: integer + description: Id of the site related to this installer job + format: int64 + example: 22 + operator: + allOf: + - $ref: '#/components/schemas/Operator' + - description: The operator of this installer job + teamId: + type: integer + description: Id of the team of this installer job + format: int64 + example: 4124 + description: + type: string + description: "Description of this installer job, will be visible to the\ + \ installer" + nullable: true + example: "5" + publicLink: + type: string + description: "Public link of this installer job, shareable with the installer" + example: https://app.monta.app/installer-page/149ffbb6-7b69-47a1-9698-90177c2027da + chargePointCount: + type: integer + description: Number of charge points included in this installer job + format: int32 + example: 5 + chargePointActiveCount: + type: integer + description: Number of active (finished) charge points in this installer + job + format: int32 + example: 3 + email: + type: string + description: Email of the installer assigned to this job. + nullable: true + example: installer@acme.org + tasks: + type: array + description: List of tasks of this installer job + items: + $ref: '#/components/schemas/InstallerJobTask' + completedAt: + type: string + description: Date this installer job was completed + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + createdAt: + type: string + description: Date this installer job was created + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Date this installer job was updated + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + deletedAt: + type: string + description: Date this installer job was deleted + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + InstallerJobTask: + required: + - createdAt + type: object + properties: + id: + type: integer + description: Id of this installer job task + format: int64 + example: 42 + installerJobId: + type: integer + description: Id of the installer job of this installer job task + format: int64 + example: 5 + chargePointId: + type: integer + description: Id of the charge point to install + format: int64 + example: 21 + serialNumber: + type: string + description: Serial number of the charge point to install + nullable: true + example: "1" + connector: + type: integer + description: Connector ID of the charge point to install + format: int32 + example: 1 + note: + type: string + description: "Note of this installer job task, will be visible to the installer" + nullable: true + example: "1" + installerNote: + type: string + description: Note provided by installer during this installer job task + nullable: true + example: "1" + activeAt: + type: string + description: Date this installer job task was active + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + createdAt: + type: string + description: Creation date of this installer job task + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Date this installer job task was last updated + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + deletedAt: + type: string + description: Date this installer job task was deleted + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + KafkaEventType: + type: string + enum: + - created + - updated + - deleted + KwhPerHour: + required: + - time + type: object + properties: + time: + type: string + description: Hour for the sum of the kwh + format: date-time + example: 2022-05-12T15:00:00Z + value: + type: number + description: Sum of kwh for this hour + format: double + example: 15.8 + Location: + type: object + properties: + coordinates: + nullable: true + allOf: + - $ref: '#/components/schemas/Coordinates' + - description: "Coordinates (lat, lng)" + address: + nullable: true + allOf: + - $ref: '#/components/schemas/Address' + - description: Address + MapResult: + required: + - chargePoints + - cluster + - sites + type: object + properties: + chargePoints: + type: array + items: + $ref: '#/components/schemas/MapResultChargePoint' + sites: + type: array + items: + $ref: '#/components/schemas/MapResultSite' + cluster: + type: array + items: + $ref: '#/components/schemas/MapResultCluster' + MapResultChargePoint: + required: + - connectors + - deeplinks + - location + - visibility + type: object + properties: + id: + type: integer + description: Id of this charge point + format: int64 + example: 1 + siteId: + type: integer + description: Id of the site + format: int64 + nullable: true + example: 42 + name: + type: string + description: Name of the site + nullable: true + example: Monta CPH HQ + visibility: + type: string + description: Indicates if this charge point is `public` or `private` + example: public + enum: + - private + - public + maxKW: + type: number + description: "Deprecated (will be removed by 01.04.24), use `maxKw` field\ + \ instead." + format: double + nullable: true + example: 150 + deprecated: true + x-sunset: 2024-04-01 + maxKw: + type: number + description: Max KW available at this charge point. + format: double + nullable: true + example: 150 + type: + type: string + description: Type of charge point (`AC` / `DC`) + nullable: true + example: ac + enum: + - ac + - dc + note: + type: string + description: "A note you have entered for this charge point, e.g. via our\ + \ Portal." + nullable: true + example: In order to access this charge point enter 0000 as code at the + gate. + state: + type: string + description: Chargepoint state + nullable: true + example: available + enum: + - available + - busy + - error + - disconnected + - passive + - other + location: + allOf: + - $ref: '#/components/schemas/Location' + - description: Location information for this charge point + connectors: + type: array + description: "List of supported connector types at this charge point (e.g.\ + \ type-2, ccs, ...)" + items: + $ref: '#/components/schemas/ChargePointConnector' + deeplinks: + allOf: + - $ref: '#/components/schemas/ChargePointDeeplinks' + - description: Deeplinks to open charge screen in Monta app or web. + description: Reduced model of Charge Point + MapResultCluster: + required: + - coordinates + type: object + properties: + coordinates: + allOf: + - $ref: '#/components/schemas/Coordinates' + - description: Coordinates of the cluster + count: + type: integer + description: Number of entities (Charge points and sites) clustered. + format: int64 + description: Cluster model + MapResultSite: + required: + - connectors + - location + - name + - visibility + type: object + properties: + id: + type: integer + description: Id of the site + format: int64 + example: 1 + name: + type: string + description: Name of the site + example: Monta CPH HQ + chargePointCount: + type: integer + description: Number of charge points at this site + format: int64 + example: 42 + maxKW: + type: number + description: "Deprecated (will be removed by 01.04.24), use `maxKw` field\ + \ instead." + format: double + nullable: true + example: 150 + deprecated: true + x-sunset: 2024-04-01 + maxKw: + type: number + description: Max KW available at this site. + format: double + nullable: true + example: 150 + type: + type: string + description: Type of charge points at this site (`AC` / `DC`) + nullable: true + example: ac + enum: + - ac + - dc + visibility: + type: string + description: Indicates if this site is `public` or `private` + example: public + enum: + - private + - public + note: + type: string + description: "A note you have entered for this site, e.g. via our Portal." + nullable: true + example: In order to access this site enter 0000 as code at the gate. + location: + allOf: + - $ref: '#/components/schemas/Location' + - description: Location information for this site + connectors: + type: array + description: "List of supported connector types at this site (e.g. type-2,\ + \ ccs, ...)" + items: + $ref: '#/components/schemas/ChargePointConnector' + description: Reduced model of Site + MetadataDto: + type: object + discriminator: + propertyName: type + mapping: + tax-refund-metadata: '#/components/schemas/TaxRefundMetadata' + charge-metadata: '#/components/schemas/ChargeMetadata' + oneOf: + - $ref: '#/components/schemas/TaxRefundMetadata' + - $ref: '#/components/schemas/ChargeMetadata' + MetadataTypeDto: + type: string + enum: + - tax-refund-metadata + - charge-metadata + - default-metadata + Money: + required: + - amount + - currency + - locale + type: object + properties: + amount: + required: + - "true" + type: integer + description: The amount of money + format: int64 + example: 12312 + currency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: Currency + locale: + minLength: 1 + required: + - "true" + type: string + description: Current user locale + example: en + MontaAppResponse: + required: + - environment + - origin + - status + type: object + properties: + status: + $ref: '#/components/schemas/MontaHttpStatus' + message: + type: string + nullable: true + origin: + type: string + environment: + type: string + localizedMessage: + type: string + nullable: true + errorCode: + type: string + nullable: true + context: + type: object + additionalProperties: true + nullable: true + errors: + type: array + nullable: true + items: + $ref: '#/components/schemas/MontaAppResponse.ErrorDetail' + statusCode: + type: integer + format: int32 + code: + type: integer + format: int32 + readable_message: + type: string + nullable: true + error_code: + type: string + nullable: true + MontaAppResponse.ErrorDetail: + type: object + properties: + field: + type: string + nullable: true + details: + type: array + nullable: true + items: + $ref: '#/components/schemas/MontaAppResponse.ErrorDetail.Body' + MontaAppResponse.ErrorDetail.Body: + required: + - message + type: object + properties: + message: + type: string + MontaHttpStatus: + type: string + enum: + - CONTINUE + - SWITCHING_PROTOCOLS + - PROCESSING + - OK + - CREATED + - ACCEPTED + - NON_AUTHORITATIVE_INFORMATION + - NO_CONTENT + - RESET_CONTENT + - PARTIAL_CONTENT + - MULTI_STATUS + - ALREADY_IMPORTED + - IM_USED + - MULTIPLE_CHOICES + - MOVED_PERMANENTLY + - FOUND + - SEE_OTHER + - NOT_MODIFIED + - USE_PROXY + - SWITCH_PROXY + - TEMPORARY_REDIRECT + - PERMANENT_REDIRECT + - BAD_REQUEST + - UNAUTHORIZED + - PAYMENT_REQUIRED + - FORBIDDEN + - NOT_FOUND + - METHOD_NOT_ALLOWED + - NOT_ACCEPTABLE + - PROXY_AUTHENTICATION_REQUIRED + - REQUEST_TIMEOUT + - CONFLICT + - GONE + - LENGTH_REQUIRED + - PRECONDITION_FAILED + - REQUEST_ENTITY_TOO_LARGE + - REQUEST_URI_TOO_LONG + - UNSUPPORTED_MEDIA_TYPE + - REQUESTED_RANGE_NOT_SATISFIABLE + - EXPECTATION_FAILED + - I_AM_A_TEAPOT + - ENHANCE_YOUR_CALM + - UNPROCESSABLE_ENTITY + - LOCKED + - FAILED_DEPENDENCY + - UNORDERED_COLLECTION + - TOO_EARLY + - UPGRADE_REQUIRED + - PRECONDITION_REQUIRED + - TOO_MANY_REQUESTS + - REQUEST_HEADER_FIELDS_TOO_LARGE + - NO_RESPONSE + - BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS + - UNAVAILABLE_FOR_LEGAL_REASONS + - REQUEST_HEADER_TOO_LARGE + - INTERNAL_SERVER_ERROR + - NOT_IMPLEMENTED + - BAD_GATEWAY + - SERVICE_UNAVAILABLE + - GATEWAY_TIMEOUT + - HTTP_VERSION_NOT_SUPPORTED + - VARIANT_ALSO_NEGOTIATES + - INSUFFICIENT_STORAGE + - LOOP_DETECTED + - BANDWIDTH_LIMIT_EXCEEDED + - NOT_EXTENDED + - NETWORK_AUTHENTICATION_REQUIRED + - CONNECTION_TIMED_OUT + MontaPage.Meta: + required: + - currentPage + - itemCount + - perPage + - totalItemCount + - totalPageCount + type: object + properties: + itemCount: + type: integer + format: int32 + currentPage: + type: integer + format: int32 + perPage: + type: integer + format: int32 + totalPageCount: + type: integer + format: int32 + totalItemCount: + type: integer + format: int64 + MontaPage_ChargeAuthTokenDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ChargeAuthToken' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_ChargeDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Charge' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_ChargePointBrandDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ChargePointBrand' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_ChargePointConnectorDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ChargePointConnector' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_ChargePointDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ChargePoint' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_ChargePointIntegrationDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ChargePointIntegration' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_ChargePointModelDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ChargePointModel' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_ChargesInsightChargerReportDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ChargesInsightChargerReport' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_ChargesInsightDriverReportDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ChargesInsightDriverReport' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_CountryAreaDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/CountryArea' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_CountryDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Country' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_CurrencyDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/CurrencyDto_3' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_InstallerJobDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/InstallerJob' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_OperatorDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Operator' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_PaymentTerminalDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/PaymentTerminal' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_PlanDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Plan' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_PriceGroupDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/PriceGroup' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_PriceGroupTagDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/PriceGroupTag' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_SiteDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Site' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_SponsoredChargePointDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/SponsoredChargePoint' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_SubscriptionDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Subscription' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_SubscriptionPurchaseDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/SubscriptionPurchase' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_TeamDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Team' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_TeamMemberDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/TeamMemberDto' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_WalletDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Wallet' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_WalletTransactionDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/WalletTransaction' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + MontaPage_WebhookEntryDto_: + required: + - data + - meta + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/WebhookEntry' + meta: + $ref: '#/components/schemas/MontaPage.Meta' + Operator: + required: + - identifier + - name + type: object + properties: + id: + type: integer + description: ID of the operator + format: int64 + example: 14 + name: + type: string + description: Name of operator + example: Monta + identifier: + type: string + description: Identifier of operator + example: monta + partnerId: + type: integer + description: Partner id (owner of this operator) + format: int64 + nullable: true + vatNumber: + type: string + description: VAT number + nullable: true + example: FOO-123-ABC + OperatorAdjustmentTransaction: + required: + - fromWalletId + - toWalletId + type: object + properties: + fromWalletId: + required: + - "true" + type: integer + description: Id of the wallet to transfer from + format: int64 + example: 1 + toWalletId: + required: + - "true" + type: integer + description: Id of the wallet to transfer to + format: int64 + example: 2 + note: + type: string + description: Note for the transaction + nullable: true + example: Adjustment for user 12345 + currencyId: + type: integer + description: Currency identifier + format: int64 + amount: + type: number + description: Amount to transfer + format: double + example: 13.77 + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + OperatorRole: + type: string + description: Enumerate the possible filters for operator role + enum: + - owner + - payer + Page_TariffRecurringPeriodDto_: + type: object + allOf: + - $ref: '#/components/schemas/Slice_TariffRecurringPeriodDto_' + - required: + - totalSize + properties: + totalSize: + type: integer + format: int64 + totalPages: + type: integer + format: int32 + Pageable: + type: object + allOf: + - $ref: '#/components/schemas/Sort' + - required: + - size + - sort + properties: + number: + type: integer + format: int32 + size: + type: integer + format: int32 + sort: + $ref: '#/components/schemas/Sort' + Pair_String.BigDecimal_: + required: + - first + - second + type: object + properties: + first: + type: string + second: + type: number + PatchCharge: + type: object + properties: + genericPaymentSession: + nullable: true + allOf: + - $ref: '#/components/schemas/GenericPaymentSession' + - description: "For Partners who want to start charging from payment terminals,\ + \ kiosks etc. Used to link charge transaction against your billing and\ + \ to allow users retrieving receipts via receipt.monta.com by using\ + \ date and `genericPaymentSession.externalId`or `genericPaymentSession.cardLast4`.

**Note:\ + \ This field is optional, but if provided, you need to provide the full\ + \ data, since it will be overwritten with values from this object.**" + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + PatchChargeAuthToken: + type: object + properties: + teamId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Id of the team the charge auth token belongs to + format: int64 + nullable: true + example: 42 + userId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: Id of the user the charge auth token should be associated to + format: int64 + nullable: true + example: 1 + name: + type: string + description: Name of the charge auth token + nullable: true + example: Monta Office Charge Key + montaNetwork: + type: boolean + description: If the charge auth token should be active in the Monta network + nullable: true + example: true + default: true + roamingNetwork: + type: boolean + description: If the charge auth token should be active in the Roaming network + nullable: true + example: true + default: true + operatorNetwork: + type: boolean + description: Indicates that the charge auth token can be used on other teams + charge points underthe same operator + nullable: true + example: true + default: true + activeUntil: + type: string + description: |- + Indicates until when this charge auth token is active, null means indefinitely. + Note: Use `../block` and `../unblock` endpoints to (un)block a charge auth token. + format: date-time + nullable: true + example: 2023-01-11T00:00:00Z + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + PatchChargePoint: + required: + - siteId + - type + type: object + properties: + siteId: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the site the charge point belongs to + format: int64 + nullable: true + example: 20 + name: + type: string + description: Name of the charge point + nullable: true + example: CP - CPH Office + maxKw: + minimum: 0 + exclusiveMinimum: true + type: number + description: Max Kw (Max Power) the charge point can output + format: double + nullable: true + example: 22 + visibility: + nullable: true + allOf: + - $ref: '#/components/schemas/VisibilityType' + - description: Visibility type of the charge point + example: private + type: + nullable: true + allOf: + - $ref: '#/components/schemas/ElectricCurrentType' + - description: Electric current type the charge point support + example: ac + active: + type: boolean + description: Indicates the charge point is active + nullable: true + example: true + default: true + showOnMap: + type: boolean + description: "\n Indicates the charge point should be displayed\ + \ on map.\n \n By setting this to false, the charge\ + \ point will not be shown on the app's map, \n but will still\ + \ be fully functional for users of the charge point.\n " + nullable: true + example: true + default: true + connectorIds: + type: array + description: Ids of the connectors this charge point support + nullable: true + example: "[1,2,3,4]" + items: + type: integer + format: int64 + note: + type: string + description: "A note (instructions, warning, information) you have entered\ + \ for this charge point" + nullable: true + example: In order to access this charge point enter 0000 as code at the + gate. + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + PatchPriceGroupTag: + type: object + properties: + name: + type: string + description: Name of the tag. + nullable: true + example: Energy + description: + type: string + description: Description of the tag. + nullable: true + example: Can be used to group `Energy` pricing elements + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + PatchSite: + type: object + properties: + name: + type: string + description: Name of the site + nullable: true + example: Monta CPH Site + address: + nullable: true + allOf: + - $ref: '#/components/schemas/CreatedOrUpdateAddress' + - description: "Address of the site, Note: please ensure to always provide\ + \ a valid address" + visibility: + nullable: true + allOf: + - $ref: '#/components/schemas/VisibilityType_3' + - description: Visibility type of the site + example: private + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + PatchSponsoredChargePoint: + type: object + properties: + priceGroupId: + type: integer + description: "The price group for this sponsorship, Only price groups of\ + \ type `reimbursement` or `sponsored` are allowed
*Note:* if the `priceGroupId`\ + \ is null the charge point cost price group will be used instead, if the\ + \ charge point has no cost price group set the request will fail" + format: int64 + nullable: true + example: 1 + payoutSchedule: + nullable: true + allOf: + - $ref: '#/components/schemas/SponsoredChargePointPayoutType' + - description: The payout schedule for this sponsored charge point + example: "1" + payForSubscriptions: + type: boolean + description: Indicates that company pay for subscriptions + nullable: true + example: false + description: "Note: Only use Optional for fields that can bet set null. Optional\ + \ will insure jackson can differentiate between a field that was set to NULL\ + \ X Field that was never present on the request." + PatchTeam: + type: object + properties: + userId: + type: integer + description: Id of the user that owns the team + format: int64 + nullable: true + example: 42 + userEmail: + type: string + description: "email of the user that owns the team, useful when the userId\ + \ is not known" + format: email + nullable: true + example: user@monta.com + name: + type: string + description: Name of the team + nullable: true + example: Monta CPH Team + contactEmail: + type: string + description: Contact email of the team + format: email + nullable: true + example: contact@monta.com + address: + nullable: true + allOf: + - $ref: '#/components/schemas/CreatedOrUpdateAddress' + - description: Address of the team + companyName: + type: string + description: The company name for the team + nullable: true + example: Monta ApS + vatNumber: + type: string + description: The vat number for the team + nullable: true + example: DK13585628 + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + PatchTeamMember: + type: object + properties: + chargePointIds: + type: array + description: Ids of the charge points to patch this team member with + nullable: true + example: "[1,2,3,4]" + items: + type: integer + format: int64 + role: + nullable: true + allOf: + - $ref: '#/components/schemas/TeamMemberRole' + - description: Role for this member within the team + example: admin + priceGroupId: + type: integer + description: The price group for this team member + format: int64 + nullable: true + example: 1 + canPayWithTeamWallet: + type: boolean + description: Gives the team member access to pay with team wallet when charging + nullable: true + example: false + default: false + canManageTeamWallet: + type: boolean + description: Gives the team member access to withdraw and deposit from your + team wallet to your bank account + nullable: true + example: false + default: false + canRequestSponsoring: + type: boolean + description: Allows the team member to request sponsoring from this team + for their charge point + nullable: true + example: false + default: false + canManageTeamMembers: + type: boolean + description: Allows the team member to view and manage other members settings + nullable: true + example: false + default: false + teamWalletChargePaymentType: + nullable: true + allOf: + - $ref: '#/components/schemas/TeamWalletChargePaymentType' + note: + type: string + description: A note for the team member + nullable: true + example: Welcome to the Monta team + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + PatchWalletTransaction: + type: object + properties: + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + PayingTeam: + required: + - publicName + type: object + properties: + id: + type: integer + description: Id of the paying team + format: int64 + example: 14 + publicName: + type: string + description: Public name of the team + example: Monta HQ + operatorId: + type: integer + description: Id of the operator the paying team belongs to + format: int64 + example: 42 + PaymentTerminal: + required: + - chargePointIds + - createdAt + - id + - name + - serial + - type + type: object + properties: + id: + type: string + description: "Id of this terminal. **NOTE: This is a String**" + example: payter_123 + type: + allOf: + - $ref: '#/components/schemas/PaymentTerminalType' + - description: "Type of this terminal, ie \"payter\"" + example: payter + teamId: + type: integer + description: The team this terminal belongs to + format: int64 + chargePointIds: + required: + - "true" + type: array + description: The charge points ids this terminal is assigned to + items: + type: integer + format: int64 + serial: + type: string + description: Serial number of the Payment Terminal + example: XYZ123-DF-123 + name: + type: string + description: "Name given to the Payment Terminal, defaults to \"No Name\"\ + \ if not set by the merchant" + example: MyPaymentTerminal 042 + isConnected: + type: boolean + description: Indicates if the terminal is connected or disconnected. + example: true + connectedAt: + type: string + description: Date this payment terminal did connect + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + createdAt: + type: string + description: Date this entity was created + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Date this entity was updated + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + deletedAt: + type: string + description: Date this entity was deleted + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + PaymentTerminalType: + type: string + enum: + - payter + - other + Plan: + required: + - active + - applicableFor + - applicationAudience + - id + - identifier + - name + - priceModel + - prices + - pricesWithVat + - serviceConfig + - serviceType + - visibleInMarketPlace + type: object + properties: + id: + required: + - "true" + type: integer + description: The id of the Plan + format: int64 + example: 123 + identifier: + required: + - "true" + type: string + description: "A unique, readable, identifier of the Plan" + example: plan-monta-123 + name: + required: + - "true" + type: string + description: Name of the Plan + example: ACME GOLD + countryId: + required: + - "false" + type: integer + description: Determines the country where the plan is available. `null` + means it is available in all countries. + format: int64 + nullable: true + example: 1 + description: + required: + - "false" + type: string + description: Description of the Plan + nullable: true + example: Charge Point Maintenance 24/7 + summary: + required: + - "false" + type: string + description: Summary of the Plan + nullable: true + example: GOLD Maintenance Plan for ACME customers + terms: + required: + - "false" + type: string + description: Terms of the Plan + nullable: true + example: Your terms here + contractUrl: + required: + - "false" + type: string + description: URL for a generic contract template the user can fill out right + after subscribing + nullable: true + example: https://www.monta.com/contract.pdf + supportEmail: + required: + - "false" + type: string + description: Support E-Mail for this Plan + nullable: true + example: support@acme.com + applicableFor: + allOf: + - $ref: '#/components/schemas/PlanApplicableFor' + - description: Indicates whether this plan can be applied to teams or charge + points. 'operator' value is only used internally. + example: charge-point + active: + required: + - "true" + type: boolean + description: Indicates if the plan is active (only active plans can be applied). + example: true + applicationAudience: + allOf: + - $ref: '#/components/schemas/PlanApplicationAudience' + - description: "Indicates whether this plan is shown in your (operator's)\ + \ app only, or in the Monta app as well." + example: all + visibleInMarketPlace: + required: + - "true" + type: boolean + description: Indicates whether this plan is shown in the market place or + not. + example: true + priceModel: + allOf: + - $ref: '#/components/schemas/PlanPriceModel' + - description: Indicates if the price is per charge point or a fixed price. + example: fixed + prices: + required: + - "true" + type: array + description: Active plan prices + items: + $ref: '#/components/schemas/PlanPrice' + pricesWithVat: + required: + - "true" + type: boolean + description: Indicates if the prices are incl. VAT or not. Default is `true`. + serviceType: + allOf: + - $ref: '#/components/schemas/PlanServiceType' + - description: "Service of the Plan, custom or tax-refund" + example: tax-refund + serviceConfig: + allOf: + - $ref: '#/components/schemas/PlanServiceConfig' + - description: "Additional configuration, based on serviceType" + PlanApplicableFor: + type: string + enum: + - charge-point + - team + - operator + PlanApplicationAudience: + type: string + enum: + - all + - own + PlanPrice: + required: + - currency + type: object + properties: + id: + type: integer + description: id of the Plan Price + format: int64 + example: 1 + price: + type: number + description: Price of the plan + format: double + example: 4.99 + currency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: Currency for `price`. + PlanPriceModel: + type: string + enum: + - fixed + - per-charge-point + PlanServiceConfig: + type: object + anyOf: + - $ref: '#/components/schemas/PlanServiceConfigCustom' + - $ref: '#/components/schemas/PlanServiceConfigTaxRefund' + PlanServiceConfigCustom: + required: + - additionalFeeAbsolute + - additionalFeePercentage + type: object + properties: + additionalFeePercentage: + required: + - "true" + type: integer + description: "This percentage will be added as additional fee, paid by charge\ + \ point owner.Will only be applied to charge point owned by operator." + format: int32 + example: 2 + additionalFeeAbsolute: + required: + - "true" + type: number + description: "This absolute value will be added as additional fee, paid\ + \ by charge point owner.Will only be applied to charge point owned by\ + \ operator.Note: This uses the default currency of the operator!" + format: double + example: 0.5 + PlanServiceConfigTaxRefund: + required: + - additionalFeeAbsolute + - additionalFeePercentage + - payoutPerKwh + - priceIncludesVat + type: object + properties: + additionalFeePercentage: + required: + - "true" + type: integer + description: "This percentage will be added as additional fee, paid by charge\ + \ point owner.Will only be applied to charge point owned by operator." + format: int32 + example: 2 + additionalFeeAbsolute: + required: + - "true" + type: number + description: "This absolute value will be added as additional fee, paid\ + \ by charge point owner.Will only be applied to charge point owned by\ + \ operator.Note: This uses the default currency of the operator!" + format: double + example: 0.5 + payoutPerKwh: + required: + - "true" + type: number + description: Amount to pay out per kWh + format: double + example: 1.29 + priceIncludesVat: + required: + - "true" + type: boolean + description: Indicates whether the VAT is already included in the price + example: true + PlanServiceType: + type: string + enum: + - custom + - tax-refund + Price: + required: + - start + type: object + properties: + start: + type: string + description: start + format: date-time + price: + type: number + description: price + nullable: true + PriceGroup: + required: + - appliedTo + - createdAt + - id + - masterPrice + - name + - tariffs + - type + type: object + properties: + id: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the price group + format: int64 + example: 522 + name: + required: + - "true" + type: string + description: Name of the price group + example: Public Price Group + default: + type: boolean + type: + allOf: + - $ref: '#/components/schemas/PriceGroupType' + - description: Type of the price group + example: public + masterPrice: + allOf: + - $ref: '#/components/schemas/Pricing' + - description: The master price + tariffs: + required: + - "true" + type: array + description: Tariffs of the price group + nullable: true + items: + $ref: '#/components/schemas/Pricing' + fees: + required: + - "false" + type: array + description: Fees of the price group + nullable: true + items: + $ref: '#/components/schemas/Pricing' + teamMemberCount: + required: + - "false" + type: integer + description: To how many team members the price group has been applied to + format: int32 + nullable: true + chargePointCount: + required: + - "false" + type: integer + description: To how many charge points the price group has been applied + to + format: int32 + nullable: true + appliedTo: + $ref: '#/components/schemas/PriceGroupAppliedTo' + createdAt: + required: + - "true" + type: string + description: When the price group was created + format: date-time + example: 2023-03-16T15:37:23Z + updatedAt: + required: + - "false" + type: string + description: When the price group was updated + format: date-time + nullable: true + example: 2023-03-16T15:37:23Z + PriceGroupAppliedTo: + required: + - chargePoints + - sites + - teamMembers + type: object + properties: + chargePoints: + required: + - "true" + type: array + description: Id's of the ChargePoints this Pricegroup has been applied to + items: + type: integer + format: int64 + sites: + required: + - "true" + type: array + description: Id's of the Sites this Pricegroup has been applied to + items: + type: integer + format: int64 + teamMembers: + required: + - "true" + type: array + description: Id's of the Team Members this Pricegroup has been applied to + items: + type: integer + format: int64 + PriceGroupTag: + required: + - createdAt + - name + type: object + properties: + id: + type: integer + description: The id for this tag. + format: int64 + name: + type: string + description: The name for this tag. + example: Energy + description: + type: string + description: The description for this tag. + nullable: true + example: Used to group `Energy` pricing elements + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + operator: + nullable: true + allOf: + - $ref: '#/components/schemas/Operator' + - description: The operator to which this resource belongs to. + createdAt: + type: string + description: Creation date of this resource. + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Last update date of this resource. + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + PriceGroupType: + type: string + enum: + - public + - member + - sponsored + - cost + - roaming + - reimbursement + - other + PriceSpecification: + required: + - specifications + type: object + properties: + specifications: + type: array + description: price specifications + items: + $ref: '#/components/schemas/Pair_String.BigDecimal_' + PricesForecast: + required: + - currency + - forecasts + - operator + - priceGroup + type: object + properties: + operator: + allOf: + - $ref: '#/components/schemas/Operator' + - description: The operator to which this charge point and price group belongs + to + currency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: The currency applicable for this forecast + priceGroup: + allOf: + - $ref: '#/components/schemas/PriceGroup' + - description: The price group applicable for this forecast + forecasts: + required: + - "true" + type: array + description: The compilation of entries composing this prices forecast + items: + $ref: '#/components/schemas/PricesForecastEntry' + PricesForecastEntry: + required: + - name + - pricePerKwh + - time + type: object + properties: + time: + required: + - "true" + type: string + description: "The time this forecasted price is applicable, forecast is\ + \ valid from time + 1 Hour" + format: date-time + example: 2023-11-29T18:00:00Z + pricePerKwh: + required: + - "true" + type: integer + description: The projected price per kWh + format: int64 + example: 5978 + name: + required: + - "true" + type: string + description: The human readable name for the forecast (includes the currency + information) + example: 0.60 DKK/kWh + Pricing: + required: + - dynamicPricing + - endAtFullyCharged + - id + - master + - price + - type + - updatedAt + - vat + type: object + properties: + id: + minimum: 0 + exclusiveMinimum: true + required: + - "true" + type: integer + description: Id of the pricing + format: int64 + example: 1 + description: + required: + - "false" + type: string + description: Name of the pricing. It will be null when it's the master price + nullable: true + example: Starting Fee + type: + allOf: + - $ref: '#/components/schemas/PricingType' + - description: Type of the pricing. `minute` is used for Minute fee. `min` + is used for the master price. + example: min + master: + required: + - "true" + type: boolean + description: If this is the master price (not a fee) + example: true + dynamicPricing: + required: + - "true" + type: boolean + description: If it's a dynamic price. It will be true if a `tariffId` is + present. + example: false + endAtFullyCharged: + required: + - "true" + type: boolean + description: Used by the Minute fee. True means it will stop charging the + fee when the charge is complete. False means it will stop charging the + fee when the cable is unplugged + example: false + vat: + required: + - "true" + type: boolean + description: "Used by Spot Price. True means it will add % of VAT on top\ + \ the price calculations
*Note*: `vat` rates differ from country to\ + \ country." + example: false + percentage: + required: + - "false" + type: number + description: Used by Spot Price. It will multiply the fallback price by + this percentage + format: float + nullable: true + example: 10.2 + default: 100 + tariffId: + required: + - "false" + type: integer + description: The id of the selected Tariff + format: int64 + nullable: true + example: 5 + updatedAt: + required: + - "true" + type: string + description: When the pricing was last updated + format: date-time + example: 2023-03-16T15:37:23Z + applyAfterMinutes: + required: + - "false" + type: integer + description: "Used by Charging, Minute and Idle Fees. After how many minutes\ + \ the fee should start being applied." + format: int32 + nullable: true + example: 30 + price: + allOf: + - $ref: '#/components/schemas/Money' + - description: The price of this Fee or Master price + priceMin: + nullable: true + allOf: + - $ref: '#/components/schemas/Money' + - description: Used by spot price. The minimum that the raw spot price can + be. This will be used in calculations if spot price is lower than this + priceMax: + nullable: true + allOf: + - $ref: '#/components/schemas/Money' + - description: Used by spot price. The maximum that the raw spot price can + be. This will be used in calculations if spot price is higher than this + feePriceMax: + nullable: true + allOf: + - $ref: '#/components/schemas/Money' + - description: Used by Idle fee. The maximum the user will be charged for + the idle fee + additional: + required: + - "false" + type: array + description: Used by spot price. Additional absolute money or percentages + values to be added on top of the previous calculations + nullable: true + items: + $ref: '#/components/schemas/AdditionalPricing' + from: + required: + - "false" + type: string + description: DateTime "from" time to which this pricing should apply from + format: date-time + nullable: true + example: 2023-03-16T15:37:23Z + to: + required: + - "false" + type: string + description: DateTime "to" time to which this pricing should apply to + format: date-time + nullable: true + example: 2023-03-16T15:37:23Z + tagId: + required: + - "false" + type: integer + description: The id of the charge pricing tag for this pricing + format: int64 + nullable: true + example: 109 + PricingType: + type: string + enum: + - kwh + - min + - spot + - tariff + - starting + - charging + - idle + - minute + PublicChargePoint: + required: + - chargePointOperatorName + - evseId + - location + type: object + properties: + id: + type: integer + description: Id of this charge point + format: int64 + example: 1 + evseId: + type: string + description: The EVSE id for this charge point + example: DK*MON*E2 + name: + type: string + description: Name of the charge point + nullable: true + example: Monta CPH HQ + chargePointOperatorName: + type: string + description: The charge point operator name + nullable: false + example: Monta + location: + allOf: + - $ref: '#/components/schemas/Location' + - description: Location information for this charge point + maxKw: + type: number + description: Max KW available at this charge point. + format: double + nullable: true + example: 150 + chargePointModelId: + type: integer + description: The ID of the charge point model for this charge point. + format: int64 + nullable: true + example: 42 + brandName: + type: string + description: Brand name for this charge point + nullable: true + example: Easee + modelName: + type: string + description: Model name for this charge point + nullable: true + example: Easee - Home + deletedAt: + type: string + description: Date this charge point was deleted + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + PublicUser: + required: + - displayName + - id + type: object + properties: + id: + required: + - "true" + type: integer + description: Id of the user + format: int64 + example: 10 + displayName: + required: + - "true" + type: string + description: Formatted name to be displayed + example: John Doe + SimpleTeamMemberDto: + required: + - id + type: object + properties: + id: + required: + - "true" + type: string + description: Id of the team member + example: "1" + teamId: + type: integer + description: Team id of team member + format: int64 + example: 42 + displayName: + type: string + description: "The team member display name, formats can be: `First and Last\ + \ Name`, `User: #id`, `email`, or `phone`" + nullable: true + example: Casper Rasmussen + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + userId: + type: integer + description: "User id of team member. If the user does not exist yet, it\ + \ will be null." + format: int64 + nullable: true + example: 1 + Site: + required: + - connectors + - createdAt + - location + - name + - updatedAt + - visibility + type: object + properties: + id: + type: integer + description: Id of the site + format: int64 + example: 1 + teamId: + type: integer + description: Id of the team that has access to the site + format: int64 + nullable: true + example: 13 + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + name: + type: string + description: Name of the site + example: Monta CPH HQ + operator: + nullable: true + allOf: + - $ref: '#/components/schemas/Operator' + - description: Operator of this charging site + createdAt: + type: string + description: Creation date of this charging site + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Date this charging site was last updated + format: date-time + example: 2022-05-12T16:56:45.99Z + deletedAt: + type: string + description: Date this charging site was deleted + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + chargePointCount: + type: integer + description: Number of charge points at this site + format: int64 + example: 42 + activeChargePointCount: + type: integer + description: Number of *active* charge points at this site + format: int64 + example: 33 + availableChargePointCount: + type: integer + description: Number of *available* charge points at this site + format: int64 + example: 4 + maxKW: + type: number + description: "Deprecated (will be removed by 01.04.24), use `maxKw` field\ + \ instead." + format: double + nullable: true + example: 150 + deprecated: true + x-sunset: 2024-04-01 + maxKw: + type: number + description: Max KW available at this site. + format: double + nullable: true + example: 150 + type: + type: string + description: Type of charge points at this site (`AC` / `DC`) + nullable: true + example: ac + enum: + - ac + - dc + visibility: + type: string + description: Indicates if this site is `public` or `private` + example: public + enum: + - private + - public + note: + type: string + description: "A note you have entered for this site, e.g. via our Portal." + nullable: true + example: In order to access this site enter 0000 as code at the gate. + location: + allOf: + - $ref: '#/components/schemas/Location' + - description: Location information for this site + connectors: + type: array + description: "List of supported connector types at this site (e.g. type-2,\ + \ ccs, ...)" + items: + $ref: '#/components/schemas/ChargePointConnector' + Slice_TariffRecurringPeriodDto_: + required: + - content + - pageable + type: object + properties: + content: + type: array + items: + $ref: '#/components/schemas/TariffRecurringPeriod' + pageable: + $ref: '#/components/schemas/Pageable' + pageNumber: + type: integer + format: int32 + offset: + type: integer + format: int64 + size: + type: integer + format: int32 + empty: + type: boolean + numberOfElements: + type: integer + format: int32 + Sort: + required: + - orderBy + type: object + properties: + orderBy: + type: array + items: + $ref: '#/components/schemas/Sort.Order' + Sort.Order: + required: + - direction + - ignoreCase + - property + type: object + properties: + ignoreCase: + type: boolean + direction: + $ref: '#/components/schemas/Sort.Order.Direction' + property: + type: string + ascending: + type: boolean + Sort.Order.Direction: + type: string + enum: + - ASC + - DESC + SponsorTeam: + required: + - publicName + type: object + properties: + id: + type: integer + description: ID of the sponsor team + format: int64 + example: 14 + publicName: + type: string + description: Public team name + example: Monta HQ + SponsoredChargePoint: + required: + - chargePoint + - createdAt + - payout + - updatedAt + type: object + properties: + id: + type: integer + description: Id of this sponsored charge point + format: int64 + example: 1 + teamId: + type: integer + description: Id of the team of this sponsored charge point + format: int64 + example: 1 + payout: + allOf: + - $ref: '#/components/schemas/SponsoredChargePointPayoutType' + - description: The payout frequency for this sponsored charge point + example: realtime + payForSubscriptions: + type: boolean + description: Indicates the company pays for the subscriptions + example: true + operator: + nullable: true + allOf: + - $ref: '#/components/schemas/Operator' + - description: Operator of this sponsored charge point + chargePoint: + allOf: + - $ref: '#/components/schemas/SponsoredChargePointData' + - description: The charge point being sponsored + acceptedAt: + type: string + description: Date the sponsorshi was accepted + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + createdAt: + type: string + description: Creation date of this sponsored charge point + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Date this sponsored charge point was last updated + format: date-time + example: 2022-05-12T16:56:45.99Z + deletedAt: + type: string + description: Date this sponsored charge point was deleted + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + SponsoredChargePointData: + required: + - createdAt + - location + - updatedAt + type: object + properties: + id: + type: integer + description: Id of this charge point + format: int64 + example: 1 + name: + type: string + description: Name of the charge point + nullable: true + example: Monta CPH HQ + user: + nullable: true + allOf: + - $ref: '#/components/schemas/PublicUser' + - description: The user (owner) of this charge point + sponsoredPriceGroup: + nullable: true + allOf: + - $ref: '#/components/schemas/PriceGroup' + - description: The sponsored price group of this charge point + location: + allOf: + - $ref: '#/components/schemas/Location' + - description: Location information for this charge point + serialNumber: + type: string + description: Serial number for this charge point + nullable: true + lastMeterReadingKwh: + type: number + description: Last meter reading (KWH) for this charge point + format: double + nullable: true + example: 913.2 + maxKw: + type: number + description: Max KW available at this charge point. + format: double + nullable: true + example: 150 + chargePointModelId: + type: integer + description: The ID of the charge point model for this charge point. + format: int64 + nullable: true + example: 42 + brandName: + type: string + description: Brand name for this charge point + nullable: true + example: Easee + modelName: + type: string + description: Model name for this charge point + nullable: true + example: Easee - Home + firmwareVersion: + type: string + description: Current firmware version for this charge point + nullable: true + example: v1 + isActive: + type: boolean + description: Indicates if this charge point is active (true) or not (false). + Active = fully onboarded to Monta. + example: true + activeAt: + type: string + description: Last date when charge point was activated + format: date-time + nullable: true + example: 2022-05-12T15:56:45.91Z + createdAt: + type: string + description: Creation date of this charge point + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Date this charge point was last updated + format: date-time + example: 2022-05-12T16:56:45.99Z + deletedAt: + type: string + description: Date this charge point was deleted + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + SponsoredChargePointPayoutType: + type: string + enum: + - end-of-month + - realtime + - other + SpotPriceAdditionalPercentageComponentMetadata: + required: + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ComponentMetadataTypeDto' + - description: The type of this metadata entry + example: spot-price-additional-percentage-metadata + price: + type: integer + description: The additional price on top of the spot price metadata entry + format: int64 + nullable: true + example: 120 + percentage: + type: number + description: The additional percentage on top of the spot price metadata + entry + format: double + nullable: true + example: 12.5 + SpotPriceAdditionalPriceComponentMetadata: + required: + - kwh + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ComponentMetadataTypeDto' + - description: The type of this metadata entry + example: spot-price-additional-price-metadata + kwh: + required: + - "true" + type: number + description: The kwh for this spot price metadata entry + format: double + example: 12.5 + price: + type: integer + description: The additional price on top of the spot price metadata entry + format: int64 + nullable: true + example: 120 + SpotPriceComponentMetadata: + required: + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ComponentMetadataTypeDto' + - description: The type of this metadata entry + example: spot-price-metadata + kwh: + type: number + description: The kwh for this metadata entry + format: double + example: 12.5 + pricePerKwh: + type: integer + description: The price per kwh for this metadata entry + format: int64 + example: 120 + StartChargeRequest: + required: + - chargePointId + - payingTeamId + type: object + properties: + payingTeamId: + type: integer + description: The `id` of the team that will be paying for the charge. + format: int64 + example: 42 + chargePointId: + type: integer + description: Id of the charge point used for this charge + format: int64 + example: 21 + reserveCharge: + type: boolean + description: "\n If true, a charge point will be reserved and\ + \ a charge object with state reserved will be returned. \n \n\ + \ Use `restart` endpoint to start the charge.\n " + example: true + kwhLimit: + maximum: 500 + minimum: 1 + type: number + description: "The charge kWh limit, meaning the charge will stop once the\ + \ limit kWh is reached.
*Note*: `kwhLimit` can be set in parallel\ + \ with `socLimit`, in this case the first limit to hit will stop the charge" + format: double + nullable: true + socLimit: + maximum: 100 + minimum: 1 + type: number + description: "The charge SoC limit, meaning the charge will stop once the\ + \ limit SoC % is reached.
*Note*: `socLimit` can be set in parallel\ + \ with `kwhLimit`, in this case the first limit to hit will stop the charge" + format: double + nullable: true + priceGroupId: + minimum: 0 + exclusiveMinimum: true + type: integer + description: "Allows you to enforce a specific price group for this charge.\ + \
*Note*: The price group must be of type `team` or `charge-point`." + format: int64 + nullable: true + example: 42 + genericPaymentSession: + nullable: true + allOf: + - $ref: '#/components/schemas/GenericPaymentSession' + - description: "For Partners who want to start charging from payment terminals,\ + \ kiosks etc. Used to link charge transaction against your billing and\ + \ to allow users retrieving receipts via receipt.monta.com by using\ + \ date and `genericPaymentSession.externalId`or `genericPaymentSession.cardLast4`." + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + StateOfCharge: + required: + - source + type: object + properties: + percentage: + type: number + description: Value of SoC in % + format: double + example: 42.2 + source: + type: string + description: "Source of this value, eg vehicle or charge-point" + example: vehicle + enum: + - charge-point + - vehicle + Subscription: + required: + - createdAt + - customerType + - state + - updatedAt + type: object + properties: + id: + type: integer + description: Id of the subscription + format: int64 + example: 1 + state: + allOf: + - $ref: '#/components/schemas/SubscriptionState' + - description: State of the subscription + example: active + nextPurchaseAt: + type: string + description: Date of next purchase + format: date-time + nullable: true + example: 2023-05-12T15:56:45.99Z + cancelledAt: + type: string + description: Subscription cancellation date + format: date-time + nullable: true + example: 2023-05-12T15:56:45.99Z + endAt: + type: string + description: Subscription end date + format: date-time + nullable: true + example: 2023-05-12T15:56:45.99Z + discountPercentage: + type: number + description: Discount percentage + format: double + example: 7.5 + discountAbsolute: + type: number + description: Discount absolute + format: double + example: 7.5 + discountAmount: + type: number + description: Discount amount + format: double + example: 7.5 + originalAmount: + type: number + description: Original amount + format: double + example: 7.5 + totalAmount: + type: number + description: Total amount + format: double + example: 7.5 + purchaseCount: + type: integer + description: Number of purchases + format: int32 + example: 5 + chargePoints: + type: integer + description: Number of charge points + format: int32 + example: 5 + customerId: + type: integer + description: The id of the customer + format: int64 + example: 1 + customerType: + allOf: + - $ref: '#/components/schemas/SubscriptionCustomerType' + - description: Customer type + example: charge-point + planId: + type: integer + description: Plan id + format: int64 + example: 42 + serviceConfig: + nullable: true + allOf: + - $ref: '#/components/schemas/SubscriptionServiceConfig' + - description: "Subscription configuration, based on the plans serviceType.Currently\ + \ you can configure tax-refund subscriptions only." + createdAt: + type: string + description: Subscription creation date + format: date-time + example: 2023-05-12T15:56:45.99Z + updatedAt: + type: string + description: Subscription update date + format: date-time + example: 2023-05-12T15:56:45.99Z + canCancel: + type: boolean + description: Indicates if the subscription can be cancelled + example: true + deletedAt: + type: string + description: Subscription marked as deleted date + format: date-time + nullable: true + example: 2023-05-12T15:56:45.99Z + SubscriptionCustomerType: + type: string + enum: + - team + - charge-point + - operator + - other + SubscriptionPurchase: + required: + - createdAt + - currency + - subscription + - type + type: object + properties: + id: + type: integer + description: Id of the subscription purchase + format: int64 + example: 1 + note: + type: string + description: Note for this subscription purchase + nullable: true + example: "1" + type: + allOf: + - $ref: '#/components/schemas/SubscriptionPurchaseTypeDto' + - description: The type of this subscription purchase + example: period + discountPercentage: + type: number + description: The discount percentage applied to this purchase + format: double + example: 25 + discountAbsolute: + type: number + description: The absolute discount applied to this purchase + format: double + example: 50 + originalAmount: + type: number + description: The original amount of this purchase + format: double + example: 100 + discountAmount: + type: number + description: The discounted amount of this purchase + format: double + example: 75 + totalAmount: + type: number + description: The total amount of this purchase + format: double + example: 25 + currency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: The currency for this purchase + subscription: + allOf: + - $ref: '#/components/schemas/Subscription' + - description: The subscription this purchase refers to + createdAt: + type: string + description: Creation date of this subscription purchase + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Update date of this subscription purchase + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + deletedAt: + type: string + description: Deleted date of this subscription purchase + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + SubscriptionPurchaseTypeDto: + type: string + description: Enumerate the possible purchase types for subscription purchases + enum: + - pending + - diff + - unknown + SubscriptionServiceConfig: + type: object + anyOf: + - $ref: '#/components/schemas/SubscriptionServiceConfigTaxRefund' + SubscriptionServiceConfigTaxRefund: + required: + - payoutPerKwh + - priceIncludesVat + - serviceType + type: object + properties: + serviceType: + allOf: + - $ref: '#/components/schemas/PlanServiceType' + - description: "Service of the Plan, custom or tax-refund" + example: tax-refund + payoutPerKwh: + required: + - "true" + type: number + description: Amount to pay out per kWh + format: double + example: 1.29 + priceIncludesVat: + required: + - "true" + type: boolean + description: Indicates whether the VAT is already included in the price + example: true + SubscriptionState: + type: string + enum: + - pending + - active + - cancelling + - cancelled + - other + TariffComponentMetadata: + required: + - type + type: object + properties: + type: + allOf: + - $ref: '#/components/schemas/ComponentMetadataTypeDto' + - description: The type of this metadata entry + example: tariff-metadata + tariffId: + type: integer + description: The tariff id for this metadata entry + format: int64 + nullable: true + example: 1 + tariffFrom: + type: string + description: "Indicates from when (date-time) the tariff was applied, only\ + \ relevant from `time-based-tariff` components" + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + tariffTo: + type: string + description: "Indicates until when(date-time) the tariff was applied, only\ + \ relevant from `time-based-tariff` components" + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + kwh: + type: number + description: The kwh for this metadata entry + format: double + example: 12.5 + pricePerKwh: + type: integer + description: The price per kwh for this metadata entry + format: int64 + example: 120 + TariffCustomerType: + type: string + enum: + - A_ZERO + - A_HIGH + - A_LOW + - B_HIGH + - B_LOW + - C_CUSTOMER + TariffDto: + required: + - area + - createdAt + - description + - externalId + - name + - tariffType + - timeZone + - zipCodes + type: object + properties: + id: + type: integer + description: Id of the tariff + format: int64 + example: 1 + externalId: + type: string + description: External id of the tariff + example: "3143" + name: + type: string + description: Name of the tariff + example: Cerius + description: + type: string + description: Description of the tariff + example: TariffDescription + countryId: + type: integer + description: Country Id of the tariff + format: int64 + example: 194 + countryAreaId: + type: integer + description: Country area Id of the tariff + format: int64 + nullable: true + example: 1 + currencyId: + type: integer + description: Currency Id of the tariff + format: int64 + example: 1 + teamId: + type: integer + description: Team Id of the tariff + format: int64 + nullable: true + example: 1 + operatorId: + type: integer + description: Operator Id of the tariff + format: int64 + nullable: true + example: 1 + pricesWithVat: + type: boolean + description: Indicates if VAT is already in the price of the tariff + example: true + zipCodes: + type: array + description: Zip codes of the tariff + example: "[5610, 5960]" + items: + type: string + tariffType: + allOf: + - $ref: '#/components/schemas/TariffType' + - description: Type of the tariff + example: WEEKLY + active: + type: boolean + description: Indicates if the Tariff is active or not + example: true + timeZone: + type: string + description: Time zone of the tariff + example: Europe/Copenhagen + area: + type: string + description: Area of the tariff + example: Jylland + customerType: + nullable: true + allOf: + - $ref: '#/components/schemas/TariffCustomerType' + - description: Customer type of the tariff + example: B_HIGH + createdAt: + type: string + description: Creation date of the tariff + format: date-time + example: 2023-03-23T14:54:56Z + updatedAt: + type: string + description: Last update date of the tariff + format: date-time + nullable: true + example: 2023-03-23T16:54:56Z + TariffPeriodGroup: + required: + - activeFrom + - activeTo + - description + type: object + properties: + id: + type: integer + description: tariff period group id + format: int64 + activeFrom: + type: string + description: tariff period group active from date + format: date + activeTo: + type: string + description: tariff period group active to date + format: date + description: + type: string + description: tariff period group description + tariffId: + type: integer + description: tariff id + format: int64 + TariffRecurringPeriod: + required: + - dayOfWeek + - price + type: object + properties: + id: + type: integer + description: id of the period + format: int64 + tariffId: + type: integer + description: id of the tariff + format: int64 + dayOfWeek: + allOf: + - $ref: '#/components/schemas/DayOfWeek' + - description: day of the period + endDayOfWeek: + nullable: true + allOf: + - $ref: '#/components/schemas/DayOfWeek' + - description: End day of the period + start: + type: integer + description: starting hour of the period + format: int32 + end: + type: integer + description: ending hour of the period + format: int32 + price: + type: number + description: price during the period + TariffRecurringPeriodCreateRequestDto: + required: + - dayOfWeek + - endHour + - groupId + - price + - startHour + - tariffId + type: object + properties: + tariffId: + required: + - "true" + type: integer + description: Id of the tariff this period will belong to + format: int64 + example: 1 + groupId: + required: + - "true" + type: integer + description: Id of the tariff period group this period will belong to + format: int64 + example: 1 + dayOfWeek: + allOf: + - $ref: '#/components/schemas/DayOfWeek' + - description: Capitalized name of the day of the week + example: MONDAY + endDayOfWeek: + nullable: true + allOf: + - $ref: '#/components/schemas/DayOfWeek' + - description: Capitalized name of the day of the week that the price is + for + example: FRIDAY + startHour: + required: + - "true" + type: integer + description: hour that the period starts at + format: int32 + example: 0 + endHour: + required: + - "true" + type: integer + description: hour that the period ends at + format: int32 + example: 23 + price: + required: + - "true" + type: number + description: price during the period + example: 2.54 + TariffRecurringPeriodUpdateRequestDto: + type: object + properties: + dayOfWeek: + nullable: true + allOf: + - $ref: '#/components/schemas/DayOfWeek' + - description: Capitalized name of the day of the week + example: MONDAY + endDayOfWeek: + nullable: true + allOf: + - $ref: '#/components/schemas/DayOfWeek' + - description: Capitalized name of the end day of the week + example: FRIDAY + startHour: + required: + - "false" + type: integer + description: hour that the period starts at + format: int32 + nullable: true + example: 0 + endHour: + required: + - "false" + type: integer + description: hour that the period ends at + format: int32 + nullable: true + example: 23 + price: + required: + - "false" + type: number + description: price during the period + nullable: true + example: 2.54 + TariffType: + type: string + enum: + - WEEKLY + - DYNAMIC + TaxRefundMetadata: + required: + - type + type: object + properties: + id: + type: integer + description: The id of the the tax refund + format: int64 + example: 1 + kwh: + type: number + description: The total kwh for the tax refund + format: double + example: 13.77 + type: + allOf: + - $ref: '#/components/schemas/MetadataTypeDto' + - description: The type of this metadata + Team: + required: + - address + - createdAt + - currency + - joinCode + - name + - type + - updatedAt + type: object + properties: + id: + type: integer + description: Id of the team + format: int64 + example: 1 + name: + type: string + description: Name of the team + example: Internal team + externalId: + type: string + description: External id of the team + nullable: true + example: 123-ABC + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + joinCode: + type: string + description: Code to share with a user to join the team + example: my-team-123 + companyName: + type: string + description: The company name for the given team + nullable: true + example: Housing XYZ + vatNumber: + type: string + description: The VAT number for the given team + nullable: true + example: DE123456789 + operator: + nullable: true + allOf: + - $ref: '#/components/schemas/Operator' + - description: The operator to this team is associated + address: + allOf: + - $ref: '#/components/schemas/TeamDto.TeamAddressDto' + - description: The address where the team is located + currency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: The currency assigned for this team + type: + type: string + description: Type of the team + example: personal + enum: + - private + - professional + - operator + operatorId: + type: integer + description: "Deprecated (will be removed by 01.04.24), use `operator` field\ + \ instead." + format: int64 + nullable: true + example: 1 + deprecated: true + x-sunset: 2024-04-01 + userId: + type: integer + description: Id of the user that owns this team + format: int64 + example: 1 + blockedAt: + type: string + description: Blocked date of this team + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + createdAt: + type: string + description: Creation date of this team + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Update date of this team + format: date-time + example: 2022-05-12T16:56:45.99Z + deletedAt: + type: string + description: The deleted date of this team + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + TeamDto.TeamAddressDto: + type: object + properties: + address1: + type: string + description: First line of address + nullable: true + example: Strandboulevarden 122 + address2: + type: string + description: Second line of address + nullable: true + example: København + address3: + type: string + description: Third line of address + nullable: true + example: 5. sal + city: + type: string + description: The address city + nullable: true + example: Berlin + zipCode: + type: string + description: The address zip code + nullable: true + example: "10011" + countryId: + type: integer + description: The address country + format: int64 + example: 1 + TeamMemberAccess: + type: string + description: "definitions: \n* `all` - Indicates the team member has access\ + \ all the team's charge points. \n* `selected` - Indicates the team member\ + \ has only access to the selected charge points. \n* `other` - Fallback value,\ + \ Indicates a new type was added but is not mapped/unknown on this API yet.\ + \ \n" + enum: + - all + - selected + - other + TeamMemberDto: + required: + - access + - chargePointIds + - id + - role + - state + - teamWalletChargePaymentType + type: object + properties: + id: + required: + - "true" + type: string + description: Id of the team member + example: "1" + teamId: + type: integer + description: Team id of team member + format: int64 + example: 42 + displayName: + type: string + description: "The team member display name, formats can be: `First and Last\ + \ Name`, `User: #id`, `email`, or `phone`" + nullable: true + example: Casper Rasmussen + operator: + nullable: true + allOf: + - $ref: '#/components/schemas/Operator' + - description: Operator of this team member + partnerExternalTeamId: + type: string + description: The partner external id for the team + nullable: true + example: A1B2C3BE3121 + userId: + type: integer + description: "User id of team member. If the user does not exist yet, it\ + \ will be null." + format: int64 + nullable: true + example: 1 + role: + allOf: + - $ref: '#/components/schemas/TeamMemberRole' + - description: Role of the this member within the team + example: admin + access: + allOf: + - $ref: '#/components/schemas/TeamMemberAccess' + - description: Indicates if the user has access to all charge points or + only to selected charge points + example: all + state: + allOf: + - $ref: '#/components/schemas/TeamMemberState' + - description: State of the invitation + example: accepted + note: + type: string + description: Note for team member + nullable: true + example: A Note + invitedAt: + type: string + description: Date of team member was invited to join the team + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + acceptedAt: + type: string + description: Date of team member accepted the invitation + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + rejectedAt: + type: string + description: Date of team member rejected the invitation + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + createdAt: + type: string + description: Date the team member was created + format: date-time + nullable: true + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Date the team member was updated + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + deletedAt: + type: string + description: Date the team member was deleted + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + chargePointIds: + required: + - "true" + type: array + description: The charge points ids this team member has access + items: + type: integer + format: int64 + priceGroupId: + type: integer + description: The price group for this team member + format: int64 + nullable: true + example: 1 + canPayWithTeamWallet: + type: boolean + description: Indicates if the team member access to pay with team wallet + when charging + example: false + default: false + canManageTeamWallet: + type: boolean + description: Indicates if team member has access to withdraw and deposit + from your team wallet to your bank account + example: false + default: false + canRequestSponsoring: + type: boolean + description: Indicates if the team member is allowed to request sponsoring + from this team for their charge point + example: false + default: false + canManageTeamMembers: + type: boolean + description: Indicates that the team member can view and manage other members + settings + example: false + default: false + teamWalletChargePaymentType: + $ref: '#/components/schemas/TeamWalletChargePaymentType' + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + TeamMemberRole: + type: string + enum: + - admin + - user + - other + TeamMemberState: + type: string + enum: + - requested + - invited + - rejected + - accepted + - blocked + - expired + - other + TeamOrOperator: + type: object + anyOf: + - $ref: '#/components/schemas/Operator' + - $ref: '#/components/schemas/PayingTeam' + TeamType.Creatable: + type: string + enum: + - private + - professional + - operator + TeamWalletChargePaymentType: + type: string + description: Who can pay the charging with Wallet? + example: none + enum: + - partner + - operator + - all + - none + default: none + Token: + required: + - accessToken + - accessTokenExpirationDate + - refreshToken + - refreshTokenExpirationDate + type: object + properties: + accessToken: + type: string + description: "Access token, required to interact with our endpoints." + example: 5a6d4da1-6af3-420b-9c15-6ecb5f6de199 + refreshToken: + type: string + description: "Refresh token, required to get a new access token." + example: 83b766d4-476e-4dd1-b11e-f57e856c890d + accessTokenExpirationDate: + type: string + description: Expiration date of access token (1 hour) + format: date-time + example: 2022-05-11T07:03:04.675035Z + refreshTokenExpirationDate: + type: string + description: Expiration date of refresh token (24 hours) + format: date-time + example: 2023-05-12T07:03:04.675055Z + Unit: + type: object + UpdateTariffRequest: + required: + - active + - area + - countryId + - currencyId + - description + - externalId + - name + - pricesWithVat + - timeZone + type: object + properties: + externalId: + required: + - "true" + type: string + description: external id + example: "1" + name: + required: + - "true" + type: string + description: 'Radius Elnet A/S ' + example: "" + description: + required: + - "true" + type: string + description: Short description of this tariff + example: Net tariff A high + countryId: + required: + - "true" + type: integer + description: Id of the country where the tariff is applicable + format: int64 + example: 1 + countryAreaId: + required: + - "false" + type: integer + description: Id of the country area where the tariff is applicable + format: int64 + nullable: true + example: 1 + currencyId: + required: + - "true" + type: integer + description: Id of the currency in which the tariff is applicable + format: int64 + example: 1 + teamId: + required: + - "false" + type: integer + description: Team id + format: int64 + nullable: true + example: 1 + pricesWithVat: + required: + - "true" + type: boolean + description: Indication if prices are with vat + example: true + zipCodes: + required: + - "false" + type: array + description: Zip codes where this tariff is applicable + nullable: true + example: "[\"2200\", \"2100\"]" + items: + type: string + tariffType: + nullable: true + allOf: + - $ref: '#/components/schemas/TariffType' + - description: Dynamic or weekly + example: WEEKLY + active: + required: + - "true" + type: boolean + description: Indication if this tariff is active + example: true + timeZone: + required: + - "true" + type: string + description: What timezone is the tariff active in + example: Europe/Copenhagen + area: + required: + - "true" + type: string + description: Human description of the area the tariff is active in + example: Fyn + customerType: + nullable: true + allOf: + - $ref: '#/components/schemas/TariffCustomerType' + - description: What kind of customer types are the tariff for? + example: c_customer + VisibilityType: + type: string + enum: + - private + - public + VisibilityType_1: + type: string + enum: + - private + - public + VisibilityType_3: + type: string + enum: + - private + - public + Wallet: + required: + - ownerType + type: object + properties: + id: + type: integer + description: Id of the wallet + format: int64 + example: 1 + ownerType: + type: string + description: "Type of owner: operator, team" + example: operator + ownerId: + type: integer + description: "Id of the owner of this wallet, either a teamId or operatorId\ + \ (depending on ownerType)" + format: int64 + example: 42 + currencyId: + type: integer + description: Currency of this wallet. + format: int64 + countryId: + type: integer + description: CountryId of this wallet. + format: int64 + balance: + nullable: true + allOf: + - $ref: '#/components/schemas/WalletDto.BalanceDto' + - description: "Balance of this wallet, if available (not in list endpoints)." + WalletDto.BalanceDto: + type: object + properties: + amount: + type: number + description: Amount of the balance + format: double + example: 13.77 + credit: + type: number + description: Amount of the credit + format: double + example: 11.77 + WalletTransaction: + required: + - createdAt + - fromCurrency + - group + - kind + - state + - toCurrency + type: object + properties: + id: + type: integer + description: Id of the transaction + format: int64 + example: 1 + fromAmount: + type: number + description: "Amount sent, incl. VAT" + format: double + example: 13.77 + fromSubAmount: + type: number + description: "Amount sent, excl. VAT" + format: double + example: 11.02 + fromVatAmount: + type: number + description: VAT amount sent + format: double + example: 2.75 + fromCurrency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: Currency for `fromAmount`. + fromType: + type: string + description: "Type of sender: operator, team" + nullable: true + example: team + from: + nullable: true + allOf: + - $ref: '#/components/schemas/TeamOrOperator' + - description: "Type of sender: operator, team" + example: team + fromWalletId: + required: + - "false" + type: integer + description: Id of the wallet where the amount was sent from. Can be `null` + if the transaction did not originate from a wallet. + format: int64 + nullable: true + example: 1 + toAmount: + type: number + description: "Amount received, incl. VAT" + format: double + example: 13.77 + toSubAmount: + type: number + description: "Amount received, excl. VAT" + format: double + example: 11.02 + toVatAmount: + type: number + description: VAT amount received + format: double + example: 2.75 + toCurrency: + allOf: + - $ref: '#/components/schemas/Currency' + - description: Currency used for `toAmount`. + toType: + type: string + description: "Type of receiver: operator, team" + nullable: true + example: operator + to: + nullable: true + allOf: + - $ref: '#/components/schemas/TeamOrOperator' + - description: "Type of sender: operator, team" + example: team + toWalletId: + required: + - "false" + type: integer + description: Id of the wallet where the amount was sent to. Can be `null` + if the transaction did not target a wallet. + format: int64 + nullable: true + example: 2 + exchangeRate: + type: number + description: Exchange rate used for currency conversion + format: double + example: 1 + createdAt: + type: string + description: Creation date of transaction + format: date-time + example: 2022-04-22T09:47:05Z + updatedAt: + required: + - "false" + type: string + description: Update date of transaction + format: date-time + nullable: true + example: 2022-04-22T09:47:05Z + referenceId: + type: string + description: Reference id of this transaction. e.g the charge id + nullable: true + example: referenceId + referenceType: + nullable: true + allOf: + - $ref: '#/components/schemas/WalletTransactionReferenceType' + - description: Reference type of this transaction. + example: CHARGE + group: + allOf: + - $ref: '#/components/schemas/WalletTransactionGroup' + - type: string + description: Transaction group of this transaction + example: withdraw + kind: + type: string + description: "\n Kind of this transaction, ie 'charge-sponsored'.\n\ + \
\n **Note:** This is an open field and therefore\ + \ more kinds will be added moving forward.\n " + example: charge-sponsored + vatPercentage: + type: number + description: VAT percentage included in this transaction. + format: double + example: 25 + state: + allOf: + - $ref: '#/components/schemas/WalletTransactionState' + - type: string + description: Transaction state of this transaction + example: complete + note: + type: string + description: A note that has been entered for this transaction. + nullable: true + example: Test transaction. + partnerExternalId: + type: string + description: "External Id of this entity, managed by you." + nullable: true + example: ACME-12345 + partnerCustomPayload: + type: array + description: "Custom JSON payload for this entity, managed by you." + nullable: true + items: + type: object + metadata: + nullable: true + allOf: + - $ref: '#/components/schemas/MetadataDto' + - description: Additional information for this transaction + WalletTransactionGroup: + type: string + enum: + - deposit + - withdraw + - charge + - other + WalletTransactionReferenceType: + type: string + description: "Note: this enum is not compliant with our standard (lower and\ + \ kebab-case), currently we return the reference type as it is from PHP. We\ + \ need to \"migrate\" the reference type to follow the standard as the others.\ + \ ticket: https://montaapp.atlassian.net/browse/PARTNERAPI-329" + enum: + - TEAM + - COMPANY_REFERRAL + - USER_REFERRAL + - ORDER + - SUBSCRIPTION_PURCHASE + - CHARGE + - BANK_ACCOUNT + - WALLET_BANK_ACCOUNT + - STRIPE_CHARGE + - SUBSCRIPTION + - TRANSACTION + - PROMO_CODE_USE + - TEAM_MEMBER_FEE_PURCHASE + - WALLET + - PAYTER_PAYMENT_SESSION + - ADYEN_PAYMENT + - OTHER + WalletTransactionState: + type: string + enum: + - complete + - pending + - failed + - reserved + - other + WebhookConfig: + required: + - webhookSecret + - webhookUrl + type: object + properties: + webhookUrl: + maxLength: 191 + pattern: https://.* + required: + - "true" + type: string + description: A HTTPS URL to send the webhook payload to when an event occurs. + example: https://partner1.com/webhooks/monta + webhookSecret: + maxLength: 191 + minLength: 16 + required: + - "true" + type: string + description: A cryptoghrapic secret used to sign the webhook payload. + example: FEC64907-DE3A-4EEB-9DA8-843D45AFF00C + eventTypes: + maxItems: 512 + required: + - "false" + type: array + description: "A list of event type to subscribe to. Use [\"*\"] to subscribe\ + \ to all." + example: "[\"charges\", \"team-members\"]" + items: + $ref: '#/components/schemas/WebhookEntry.EventType' + WebhookEntry: + required: + - createdAt + - eventType + - payload + - status + type: object + properties: + id: + type: integer + description: Id of the entry + format: int64 + example: 1 + consumerId: + type: integer + description: Id of the consumer this entry belongs to + format: int64 + example: 1 + operatorId: + type: integer + description: Id of the operator this entry belongs to + format: int64 + example: 1 + eventType: + allOf: + - $ref: '#/components/schemas/WebhookEntry.EventType' + - description: "\n Type of event this entry belongs to.\n \ + \ Note: This is not the type of the entity (payload.EntityType),\ + \ but the type of the event that you can subscribe to.\n " + example: charge-points + payload: + allOf: + - $ref: '#/components/schemas/WebhookEntryPayload' + - description: payload of this entry + example: "See [Charge](/reference/get-charge) payload" + status: + allOf: + - $ref: '#/components/schemas/WebhookEntry.Status' + - description: Status of the entry + example: completed + error: + nullable: true + allOf: + - $ref: '#/components/schemas/WebhookEntryErrorPayload' + - description: Contains the error message if the delivery failed + example: TBD + createdAt: + type: string + description: Creation date of this entry + format: date-time + example: 2022-05-12T15:56:45.99Z + updatedAt: + type: string + description: Update date of this entry + format: date-time + nullable: true + example: 2022-05-12T16:56:45.99Z + WebhookEntry.EventType: + type: string + enum: + - '*' + - charges + - charge-points + - sites + - team-members + - teams + - installer-jobs + - wallet-transactions + - price-groups + - subscriptions + - plans + WebhookEntry.Status: + type: string + enum: + - pending + - completed + - failed + WebhookEntryErrorPayload: + type: object + properties: + errorCode: + type: string + description: error code for the entry + nullable: true + example: 502 Bad Gateway + errorMessage: + type: string + description: error message for the entry + nullable: true + example: |- + + + Bad Gateway<\title> + </head> + <body> + <p>The server is unreachable at this time.</p> + </body> + </html> + WebhookEntryPayload: + required: + - entityId + - entityType + - eventType + type: object + properties: + entityType: + allOf: + - $ref: '#/components/schemas/WebhookEntryPayload.EntityType' + - description: Type of the entity + example: charge + entityId: + type: string + description: Id of the entity + example: "42" + eventType: + allOf: + - $ref: '#/components/schemas/KafkaEventType' + - description: Type of the event + example: updated + payload: + type: array + description: "payload of this entity, e.g. a full Charge object" + nullable: true + example: "{ \"id\": \"42\", \"amount\": 1000 }}" + items: + type: object + WebhookEntryPayload.EntityType: + type: string + enum: + - charge + - charge-point + - site + - team + - team-member + - installer-job + - wallet-transaction + - price-group + - subscription + - plan + securitySchemes: + BearerAccessToken: + type: http + scheme: bearer \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs new file mode 100644 index 00000000..f6b64224 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Auth; + +/// <summary> +/// Parameters for operation request. +/// Description: Obtain your `accessToken`. +/// Operation: GetAccessTokenWithClientCredentials. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAccessTokenWithClientCredentialsParameters +{ + [Required] + public string? Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs new file mode 100644 index 00000000..7c39594d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Auth; + +/// <summary> +/// Parameters for operation request. +/// Description: Obtain your `accessToken` with a `refreshToken`. +/// Operation: GetAccessTokenWithRefreshToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAccessTokenWithRefreshTokenParameters +{ + [Required] + public string? Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/Token.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/Token.verified.cs new file mode 100644 index 00000000..6196c94c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/Token.verified.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Auth; + +/// <summary> +/// Token. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Token +{ + /// <summary> + /// Access token, required to interact with our endpoints. + /// </summary> + [Required] + public string AccessToken { get; set; } + + /// <summary> + /// Refresh token, required to get a new access token. + /// </summary> + [Required] + public string RefreshToken { get; set; } + + /// <summary> + /// Expiration date of access token (1 hour). + /// </summary> + [Required] + public DateTimeOffset AccessTokenExpirationDate { get; set; } + + /// <summary> + /// Expiration date of refresh token (24 hours). + /// </summary> + [Required] + public DateTimeOffset RefreshTokenExpirationDate { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(AccessToken)}: {AccessToken}, {nameof(RefreshToken)}: {RefreshToken}, {nameof(AccessTokenExpirationDate)}: ({AccessTokenExpirationDate}), {nameof(RefreshTokenExpirationDate)}: ({RefreshTokenExpirationDate})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs new file mode 100644 index 00000000..a4f18d6e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs @@ -0,0 +1,102 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// ChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargeAuthToken +{ + /// <summary> + /// The id of the charge auth token. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// The identifier of the charge auth token, Note: without prefix e.g `VID:`. + /// </summary> + [Required] + public string Identifier { get; set; } + + /// <summary> + /// The method type used for this charge auth token. + /// </summary> + [Required] + public string Type { get; set; } + + /// <summary> + /// Id of the team that the charge auth token belongs to. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// Id of the user that the charge auth token is associated to. + /// </summary> + public long? UserId { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <summary> + /// Name of the charge auth token. + /// </summary> + public string? Name { get; set; } + + public Operator? Operator { get; set; } + + /// <summary> + /// If the charge auth token is active in the Monta network. + /// </summary> + public bool MontaNetwork { get; set; } + + /// <summary> + /// If the charge auth token is active in the Roaming network. + /// </summary> + public bool RoamingNetwork { get; set; } + + /// <summary> + /// Allow this charge auth token to be used on other teams charge points under the same operator. + /// </summary> + public bool OperatorNetwork { get; set; } + + /// <summary> + /// Indicates until when this charge auth token is active, null means indefinitely. + /// </summary> + public DateTimeOffset? ActiveUntil { get; set; } + + /// <summary> + /// If the charge auth token is blocked, it will not be able to charge. + /// * `null` = not blocked + /// * date-time = blocked since date-time + /// . + /// </summary> + public DateTimeOffset? BlockedAt { get; set; } + + /// <summary> + /// Creation date of this charge auth token. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Update date of this charge auth token. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Identifier)}: {Identifier}, {nameof(Type)}: {Type}, {nameof(TeamId)}: {TeamId}, {nameof(UserId)}: {UserId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}, {nameof(Name)}: {Name}, {nameof(Operator)}: ({Operator}), {nameof(MontaNetwork)}: {MontaNetwork}, {nameof(RoamingNetwork)}: {RoamingNetwork}, {nameof(OperatorNetwork)}: {OperatorNetwork}, {nameof(ActiveUntil)}: ({ActiveUntil}), {nameof(BlockedAt)}: ({BlockedAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs new file mode 100644 index 00000000..fb63b30b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs @@ -0,0 +1,85 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// CreateChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateChargeAuthToken +{ + /// <summary> + /// Id of the team the charge auth token belongs. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long TeamId { get; set; } + + /// <summary> + /// Id of the user the charge auth token should be associated to. + /// </summary> + [Range(0, 2147483647)] + public long? UserId { get; set; } + + /// <summary> + /// Identifier of the the charge auth token, Note: without prefix e.g `VID:`. + /// </summary> + [Required] + [MinLength(1)] + [RegularExpression("^(?!VID:)[\\s\\S]*")] + public string Identifier { get; set; } + + [Required] + public ChargeAuthenticationType Type { get; set; } + + /// <summary> + /// Name of the charge auth token. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// If the charge auth token should be active in the Monta network. + /// </summary> + public bool MontaNetwork { get; set; } = true; + + /// <summary> + /// If the charge auth token should be active in the Roaming network. + /// </summary> + public bool RoamingNetwork { get; set; } = true; + + /// <summary> + /// Indicates that the charge auth token can be used on other teams charge points underthe same operator. + /// </summary> + public bool? OperatorNetwork { get; set; } = true; + + /// <summary> + /// Indicates until when this charge auth token should be active, null means indefinitely. + /// </summary> + public DateTimeOffset? ActiveUntil { get; set; } + + /// <summary> + /// If the charge auth token is blocked, it will not be able to charge. + /// * `null` = not blocked + /// * date-time = blocked since date-time + /// . + /// </summary> + public DateTimeOffset? BlockedAt { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(UserId)}: {UserId}, {nameof(Identifier)}: {Identifier}, {nameof(Type)}: ({Type}), {nameof(Name)}: {Name}, {nameof(MontaNetwork)}: {MontaNetwork}, {nameof(RoamingNetwork)}: {RoamingNetwork}, {nameof(OperatorNetwork)}: {OperatorNetwork}, {nameof(ActiveUntil)}: ({ActiveUntil}), {nameof(BlockedAt)}: ({BlockedAt}), {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs new file mode 100644 index 00000000..b0f02674 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// MontaPageChargeAuthTokenDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargeAuthTokenDto +{ + [Required] + public List<ChargeAuthToken> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs new file mode 100644 index 00000000..2047e33c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs @@ -0,0 +1,67 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// PatchChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargeAuthToken +{ + /// <summary> + /// Id of the team the charge auth token belongs to. + /// </summary> + [Range(0, 2147483647)] + public long? TeamId { get; set; } + + /// <summary> + /// Id of the user the charge auth token should be associated to. + /// </summary> + [Range(0, 2147483647)] + public long? UserId { get; set; } + + /// <summary> + /// Name of the charge auth token. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// If the charge auth token should be active in the Monta network. + /// </summary> + public bool? MontaNetwork { get; set; } = true; + + /// <summary> + /// If the charge auth token should be active in the Roaming network. + /// </summary> + public bool? RoamingNetwork { get; set; } = true; + + /// <summary> + /// Indicates that the charge auth token can be used on other teams charge points underthe same operator. + /// </summary> + public bool? OperatorNetwork { get; set; } = true; + + /// <summary> + /// Indicates until when this charge auth token is active, null means indefinitely. + /// Note: Use `../block` and `../unblock` endpoints to (un)block a charge auth token. + /// . + /// </summary> + public DateTimeOffset? ActiveUntil { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(UserId)}: {UserId}, {nameof(Name)}: {Name}, {nameof(MontaNetwork)}: {MontaNetwork}, {nameof(RoamingNetwork)}: {RoamingNetwork}, {nameof(OperatorNetwork)}: {OperatorNetwork}, {nameof(ActiveUntil)}: ({ActiveUntil}), {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs new file mode 100644 index 00000000..c6323be3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// Parameters for operation request. +/// Description: Block a charge auth token. +/// Operation: BlockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class BlockChargeAuthTokenParameters +{ + [Required] + public long ChargeAuthTokenId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeAuthTokenId)}: {ChargeAuthTokenId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs new file mode 100644 index 00000000..1203ed27 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// Parameters for operation request. +/// Description: Create a new charge auth token. +/// Operation: CreateChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateChargeAuthTokenParameters +{ + [Required] + public CreateChargeAuthToken Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs new file mode 100644 index 00000000..74399b77 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// Parameters for operation request. +/// Description: Deletes a charge auth token. +/// Operation: DeleteChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargeAuthTokenParameters +{ + [Required] + public long ChargeAuthTokenId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeAuthTokenId)}: {ChargeAuthTokenId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs new file mode 100644 index 00000000..444facbf --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a charge auth token. +/// Operation: GetChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeAuthTokenParameters +{ + [Required] + public long ChargeAuthTokenId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeAuthTokenId)}: {ChargeAuthTokenId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs new file mode 100644 index 00000000..cfd52c5f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve list of charge auth tokens. +/// Operation: GetChargeAuthTokens. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeAuthTokensParameters +{ + /// <summary> + /// Filter to retrieve charges auth tokens with specified teamId. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// Filter charge auth tokens by partnerExternalId, to filter only resources without `partnerExternalId` *use* `partnerExternalId=""`. + /// </summary> + public string PartnerExternalId { get; set; } + + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs new file mode 100644 index 00000000..bb037c74 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// Parameters for operation request. +/// Description: Patch an existing charge auth token. +/// Operation: PatchChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargeAuthTokenParameters +{ + [Required] + public long ChargeAuthTokenId { get; set; } + + [Required] + public PatchChargeAuthToken Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeAuthTokenId)}: {ChargeAuthTokenId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs new file mode 100644 index 00000000..8be53498 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; + +/// <summary> +/// Parameters for operation request. +/// Description: Unblock a charge auth token. +/// Operation: UnblockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UnblockChargeAuthTokenParameters +{ + [Required] + public long ChargeAuthTokenId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeAuthTokenId)}: {ChargeAuthTokenId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs new file mode 100644 index 00000000..ad550b82 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; + +/// <summary> +/// ChargePointBrand. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePointBrand +{ + /// <summary> + /// The id of the charge point brand. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// The identifier of the charge point brand. + /// </summary> + [Required] + public string Identifier { get; set; } + + /// <summary> + /// The name of the charge point brand. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Creation date of this charge point brand. + /// </summary> + public DateTimeOffset? CreatedAt { get; set; } + + /// <summary> + /// Update date of this charge point brand. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Identifier)}: {Identifier}, {nameof(Name)}: {Name}, {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs new file mode 100644 index 00000000..f6878c2e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; + +/// <summary> +/// MontaPageChargePointBrandDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargePointBrandDto +{ + [Required] + public List<ChargePointBrand> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs new file mode 100644 index 00000000..d1837a52 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a charge point brand. +/// Operation: GetChargePointBrand. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointBrandParameters +{ + [Required] + public long ChargePointBrandId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointBrandId)}: {ChargePointBrandId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs new file mode 100644 index 00000000..4e9d556c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve list of charge point brands. +/// Operation: GetChargePointBrands. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointBrandsParameters +{ + /// <summary> + /// Optional filter to search brands by name. + /// </summary> + public string Search { get; set; } + + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Search)}: {Search}, {nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs new file mode 100644 index 00000000..b5dd1071 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointConnectors; + +/// <summary> +/// MontaPageChargePointConnectorDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargePointConnectorDto +{ + [Required] + public List<ChargePointConnector> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs new file mode 100644 index 00000000..b1cc6e63 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointConnectors; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single charge point connector. +/// Operation: GetConnector. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetConnectorParameters +{ + [Required] + public long ConnectorId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ConnectorId)}: {ConnectorId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs new file mode 100644 index 00000000..be7e2bf8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs @@ -0,0 +1,67 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; + +/// <summary> +/// ChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePointIntegration +{ + /// <summary> + /// The id of this charge point integration. + /// </summary> + public long Id { get; set; } + + [Required] + public ChargePointIntegrationStateDto State { get; set; } + + /// <summary> + /// The serial number of this charge point integration. + /// </summary> + [Required] + public string SerialNumber { get; set; } + + /// <summary> + /// The integration type (method) used. + /// </summary> + [Required] + public string IntegrationTypeIdentifier { get; set; } + + /// <summary> + /// The connector id for this charge point integration. + /// </summary> + public int? ConnectorId { get; set; } + + [Required] + public ChargePoint ChargePoint { get; set; } + + /// <summary> + /// The Date this charge point integration was set to active. + /// </summary> + public DateTimeOffset? ActiveAt { get; set; } + + /// <summary> + /// The Creation date of this charge point integration. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// The Date this charge point integration was last updated. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <summary> + /// The Date this charge point integration was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(State)}: ({State}), {nameof(SerialNumber)}: {SerialNumber}, {nameof(IntegrationTypeIdentifier)}: {IntegrationTypeIdentifier}, {nameof(ConnectorId)}: {ConnectorId}, {nameof(ChargePoint)}: ({ChargePoint}), {nameof(ActiveAt)}: ({ActiveAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs new file mode 100644 index 00000000..faa9fbeb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; + +/// <summary> +/// CreateOrUpdateChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateOrUpdateChargePointIntegration +{ + /// <summary> + /// Id of the charge point to setup the integration. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long ChargePointId { get; set; } + + /// <summary> + /// Id of the charge point model to be integrated. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long ChargePointModelId { get; set; } + + /// <summary> + /// The serial number for the charge point integration. + /// </summary> + [Required] + [MinLength(1)] + public string SerialNumber { get; set; } + + /// <summary> + /// Connector id for the charge point integration. when `null` the `connectorId` will default to `1`. + /// </summary> + [Range(0, 2147483647)] + public int? ConnectorId { get; set; } + + /// <summary> + /// Indicates that an attempt to connect the charge point should happen, when `autoConnect` is set to true the Charge Point needs to point to Monta (via OCPP websocket)<br /><br />Note: when false the integration will be create but the state will be to `pending`. + /// </summary> + public bool? AutoConnect { get; set; } = true; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointId)}: {ChargePointId}, {nameof(ChargePointModelId)}: {ChargePointModelId}, {nameof(SerialNumber)}: {SerialNumber}, {nameof(ConnectorId)}: {ConnectorId}, {nameof(AutoConnect)}: {AutoConnect}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs new file mode 100644 index 00000000..3cc60f95 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; + +/// <summary> +/// MontaPageChargePointIntegrationDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargePointIntegrationDto +{ + [Required] + public List<ChargePointIntegration> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs new file mode 100644 index 00000000..af530d1a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete a charge point integration. +/// Operation: DeleteChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargePointIntegrationParameters +{ + [Required] + public long ChargePointIntegrationId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointIntegrationId)}: {ChargePointIntegrationId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs new file mode 100644 index 00000000..74b9ffbb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single charge point integration. +/// Operation: GetChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointIntegrationParameters +{ + [Required] + public long ChargePointIntegrationId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointIntegrationId)}: {ChargePointIntegrationId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs new file mode 100644 index 00000000..f73169b6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of charge points integrations. +/// Operation: GetChargePointIntegrations. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointIntegrationsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + [Required] + [Range(0, 2147483647)] + public long ChargePointId { get; set; } + + public bool? IncludeDeleted { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(ChargePointId)}: {ChargePointId}, {nameof(IncludeDeleted)}: {IncludeDeleted}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs new file mode 100644 index 00000000..5b696fa3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; + +/// <summary> +/// Parameters for operation request. +/// Description: Create or update a charge point integration. +/// Operation: PostOrPutChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostOrPutChargePointIntegrationParameters +{ + [Required] + public CreateOrUpdateChargePointIntegration Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs new file mode 100644 index 00000000..786d364a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs @@ -0,0 +1,54 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; + +/// <summary> +/// ChargePointModel. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePointModel +{ + /// <summary> + /// The id of the charge point model. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// The identifier of the charge point model. + /// </summary> + [Required] + public string Identifier { get; set; } + + /// <summary> + /// The name of the charge point model, name is composed by (Brand name - Model name). + /// </summary> + [Required] + public string Name { get; set; } + + [Required] + public ChargePointModelDtoChargePointBrandDto Brand { get; set; } + + /// <summary> + /// The supported features by this charge point model, only supported features will be included. + /// </summary> + [Required] + public List<ChargePointModelFeature> Features { get; set; } + + /// <summary> + /// Creation date of this charge point model. + /// </summary> + public DateTimeOffset? CreatedAt { get; set; } + + /// <summary> + /// Update date of this charge point model. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Identifier)}: {Identifier}, {nameof(Name)}: {Name}, {nameof(Brand)}: ({Brand}), {nameof(Features)}.Count: {Features?.Count ?? 0}, {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs new file mode 100644 index 00000000..571668c6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; + +/// <summary> +/// ChargePointModelDtoChargePointBrandDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePointModelDtoChargePointBrandDto +{ + /// <summary> + /// The id of the charge point brand. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// The name of the charge point brand. + /// </summary> + [Required] + public string Name { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Name)}: {Name}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs new file mode 100644 index 00000000..96b8c90f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; + +/// <summary> +/// ChargePointModelFeature. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePointModelFeature +{ + /// <summary> + /// The key that identifies this feature. + /// </summary> + [Required] + public string Key { get; set; } + + /// <summary> + /// The description for this feature. + /// </summary> + public string? Description { get; set; } + + /// <summary> + /// The requirements for this feature. + /// </summary> + public string? Requirements { get; set; } + + /// <summary> + /// The current status of the feature. + /// </summary> + public bool Enabled { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Key)}: {Key}, {nameof(Description)}: {Description}, {nameof(Requirements)}: {Requirements}, {nameof(Enabled)}: {Enabled}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs new file mode 100644 index 00000000..1853830d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; + +/// <summary> +/// MontaPageChargePointModelDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargePointModelDto +{ + [Required] + public List<ChargePointModel> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs new file mode 100644 index 00000000..1c8ea0f3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a charge point model. +/// Operation: GetChargePointModel. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointModelParameters +{ + [Required] + public long ChargePointModelId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointModelId)}: {ChargePointModelId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs new file mode 100644 index 00000000..85b872d3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve list of charge point models. +/// Operation: GetChargePointModels. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointModelsParameters +{ + /// <summary> + /// Optional filter to search models by model name or brand name. + /// </summary> + public string Search { get; set; } + + /// <summary> + /// Optional filter to filter models by `brandId`. + /// </summary> + public long BrandId { get; set; } + + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Search)}: {Search}, {nameof(BrandId)}: {BrandId}, {nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs new file mode 100644 index 00000000..20918672 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// CreateChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateChargePoint +{ + /// <summary> + /// Id of the team that the charge point belongs to. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long TeamId { get; set; } + + /// <summary> + /// Id of the site the charge point belongs to. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long SiteId { get; set; } + + /// <summary> + /// Id of the charge point model. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long ChargePointModelId { get; set; } + + /// <summary> + /// Name of the charge point. + /// </summary> + [Required] + [MinLength(1)] + public string Name { get; set; } + + /// <summary> + /// Max Kw (Max Power) the charge point can output. + /// </summary> + [Required] + public double MaxKw { get; set; } + + [Required] + public VisibilityType Visibility { get; set; } + + [Required] + public ElectricCurrentType Type { get; set; } + + /// <summary> + /// Indicates the charge point is active. + /// </summary> + public bool? Active { get; set; } = true; + + /// <summary> + /// Indicates the charge point should be displayed on map. + /// By setting this to false, the charge point will not be shown on the app's map, + /// but will still be fully functional for users of the charge point. + /// . + /// </summary> + public bool? ShowOnMap { get; set; } = true; + + /// <summary> + /// Ids of the connectors this charge point support, + /// When not present the provide charge point model connectors will be used instead. + /// . + /// </summary> + public List<long>? ConnectorIds { get; set; } = new List<long>(); + + /// <summary> + /// A note (instructions, warning, information) you have entered for this charge point. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(SiteId)}: {SiteId}, {nameof(ChargePointModelId)}: {ChargePointModelId}, {nameof(Name)}: {Name}, {nameof(MaxKw)}: {MaxKw}, {nameof(Visibility)}: ({Visibility}), {nameof(Type)}: ({Type}), {nameof(Active)}: {Active}, {nameof(ShowOnMap)}: {ShowOnMap}, {nameof(ConnectorIds)}.Count: {ConnectorIds?.Count ?? 0}, {nameof(Note)}: {Note}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs new file mode 100644 index 00000000..ed80ecab --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// MapResult. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MapResult +{ + [Required] + public List<MapResultChargePoint> ChargePoints { get; set; } + + [Required] + public List<MapResultSite> Sites { get; set; } + + [Required] + public List<MapResultCluster> Cluster { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePoints)}.Count: {ChargePoints?.Count ?? 0}, {nameof(Sites)}.Count: {Sites?.Count ?? 0}, {nameof(Cluster)}.Count: {Cluster?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs new file mode 100644 index 00000000..888093ee --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Reduced model of Charge Point. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MapResultChargePoint +{ + /// <summary> + /// Id of this charge point. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Id of the site. + /// </summary> + public long? SiteId { get; set; } + + /// <summary> + /// Name of the site. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// Indicates if this charge point is `public` or `private`. + /// </summary> + [Required] + public string Visibility { get; set; } + + /// <summary> + /// Max KW available at this charge point. + /// </summary> + public double? MaxKw { get; set; } + + /// <summary> + /// Type of charge point (`AC` / `DC`). + /// </summary> + public string? Type { get; set; } + + /// <summary> + /// A note you have entered for this charge point, e.g. via our Portal. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// Chargepoint state. + /// </summary> + public string? State { get; set; } + + [Required] + public Location Location { get; set; } + + /// <summary> + /// List of supported connector types at this charge point (e.g. type-2, ccs, ...). + /// </summary> + [Required] + public List<ChargePointConnector> Connectors { get; set; } + + [Required] + public ChargePointDeeplinks Deeplinks { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(SiteId)}: {SiteId}, {nameof(Name)}: {Name}, {nameof(Visibility)}: {Visibility}, {nameof(MaxKw)}: {MaxKw}, {nameof(Type)}: {Type}, {nameof(Note)}: {Note}, {nameof(State)}: {State}, {nameof(Location)}: ({Location}), {nameof(Connectors)}.Count: {Connectors?.Count ?? 0}, {nameof(Deeplinks)}: ({Deeplinks})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs new file mode 100644 index 00000000..6cc65189 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Cluster model. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MapResultCluster +{ + [Required] + public Coordinates Coordinates { get; set; } + + /// <summary> + /// Number of entities (Charge points and sites) clustered. + /// </summary> + public long Count { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Coordinates)}: ({Coordinates}), {nameof(Count)}: {Count}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs new file mode 100644 index 00000000..991313c8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs @@ -0,0 +1,64 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Reduced model of Site. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MapResultSite +{ + /// <summary> + /// Id of the site. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Name of the site. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Number of charge points at this site. + /// </summary> + public long ChargePointCount { get; set; } + + /// <summary> + /// Max KW available at this site. + /// </summary> + public double? MaxKw { get; set; } + + /// <summary> + /// Type of charge points at this site (`AC` / `DC`). + /// </summary> + public string? Type { get; set; } + + /// <summary> + /// Indicates if this site is `public` or `private`. + /// </summary> + [Required] + public string Visibility { get; set; } + + /// <summary> + /// A note you have entered for this site, e.g. via our Portal. + /// </summary> + public string? Note { get; set; } + + [Required] + public Location Location { get; set; } + + /// <summary> + /// List of supported connector types at this site (e.g. type-2, ccs, ...). + /// </summary> + [Required] + public List<ChargePointConnector> Connectors { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Name)}: {Name}, {nameof(ChargePointCount)}: {ChargePointCount}, {nameof(MaxKw)}: {MaxKw}, {nameof(Type)}: {Type}, {nameof(Visibility)}: {Visibility}, {nameof(Note)}: {Note}, {nameof(Location)}: ({Location}), {nameof(Connectors)}.Count: {Connectors?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs new file mode 100644 index 00000000..1c1472f2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// MontaPageChargePointDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargePointDto +{ + [Required] + public List<ChargePoint> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs new file mode 100644 index 00000000..f6032b2d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// PatchChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargePoint +{ + /// <summary> + /// Id of the site the charge point belongs to. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long? SiteId { get; set; } + + /// <summary> + /// Name of the charge point. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// Max Kw (Max Power) the charge point can output. + /// </summary> + public double? MaxKw { get; set; } + + public VisibilityType? Visibility { get; set; } + + [Required] + public ElectricCurrentType? Type { get; set; } + + /// <summary> + /// Indicates the charge point is active. + /// </summary> + public bool? Active { get; set; } = true; + + /// <summary> + /// Indicates the charge point should be displayed on map. + /// By setting this to false, the charge point will not be shown on the app's map, + /// but will still be fully functional for users of the charge point. + /// . + /// </summary> + public bool? ShowOnMap { get; set; } = true; + + /// <summary> + /// Ids of the connectors this charge point support. + /// </summary> + public List<long>? ConnectorIds { get; set; } = new List<long>(); + + /// <summary> + /// A note (instructions, warning, information) you have entered for this charge point. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SiteId)}: {SiteId}, {nameof(Name)}: {Name}, {nameof(MaxKw)}: {MaxKw}, {nameof(Visibility)}: ({Visibility}), {nameof(Type)}: ({Type}), {nameof(Active)}: {Active}, {nameof(ShowOnMap)}: {ShowOnMap}, {nameof(ConnectorIds)}.Count: {ConnectorIds?.Count ?? 0}, {nameof(Note)}: {Note}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs new file mode 100644 index 00000000..c21d95b2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing charge point. +/// Operation: DeleteChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargePointParameters +{ + [Required] + public long ChargePointId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointId)}: {ChargePointId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs new file mode 100644 index 00000000..0b84cc75 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve charge points / sites for map. +/// Operation: GetChargePointMap. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointMapParameters +{ + [Required] + public double TopLatitude { get; set; } + + [Required] + public double RightLongitude { get; set; } + + [Required] + public double BottomLatitude { get; set; } + + [Required] + public double LeftLongitude { get; set; } + + [Required] + public double CenterLatitude { get; set; } + + [Required] + public double CenterLongitude { get; set; } + + [Required] + public double Zoom { get; set; } + + [Required] + public bool? IncludeBusy { get; set; } = true; + + [Required] + public bool? IncludeAllOperators { get; set; } = false; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TopLatitude)}: {TopLatitude}, {nameof(RightLongitude)}: {RightLongitude}, {nameof(BottomLatitude)}: {BottomLatitude}, {nameof(LeftLongitude)}: {LeftLongitude}, {nameof(CenterLatitude)}: {CenterLatitude}, {nameof(CenterLongitude)}: {CenterLongitude}, {nameof(Zoom)}: {Zoom}, {nameof(IncludeBusy)}: {IncludeBusy}, {nameof(IncludeAllOperators)}: {IncludeAllOperators}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs new file mode 100644 index 00000000..41a76c0b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single charge point. +/// Operation: GetChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointParameters +{ + [Required] + public long ChargePointId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointId)}: {ChargePointId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs new file mode 100644 index 00000000..3f2a763a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of charge points. +/// Operation: GetChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public long? SiteId { get; set; } + + public long? TeamId { get; set; } + + public string? PartnerExternalId { get; set; } + + [RegularExpression("^(-?\\d*\\.\\d+|\\d+\\.\\d*)(,)(-?\\d*\\.\\d+|\\d+\\.\\d*)$")] + public string? SortByLocation { get; set; } + + public bool? IncludeDeleted { get; set; } + + public ChargePointState? State { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(SiteId)}: {SiteId}, {nameof(TeamId)}: {TeamId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(SortByLocation)}: {SortByLocation}, {nameof(IncludeDeleted)}: {IncludeDeleted}, {nameof(State)}: ({State})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs new file mode 100644 index 00000000..46a1c62b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Patch an existing charge point. +/// Operation: PatchChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargePointParameters +{ + [Required] + public long ChargePointId { get; set; } + + [Required] + public PatchChargePoint Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointId)}: {ChargePointId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs new file mode 100644 index 00000000..bd55a24e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Create a charge point. +/// Operation: PostChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostChargePointParameters +{ + [Required] + public CreateChargePoint Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs new file mode 100644 index 00000000..82bc8da9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Breakdown. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Breakdown +{ + /// <summary> + /// The initial timestamp for this breakdown entry, currently in hourly format. + /// </summary> + public DateTimeOffset? From { get; set; } + + /// <summary> + /// The final timestamp for this breakdown entry, currently in hourly format. + /// </summary> + public DateTimeOffset? To { get; set; } + + /// <summary> + /// The total price for this breakdown entry. + /// </summary> + [Required] + public long SubTotalPrice { get; set; } + + /// <summary> + /// The total master price for this breakdown entry. + /// </summary> + [Required] + public long SubTotalMasterPrice { get; set; } + + /// <summary> + /// The total secondary price for this breakdown entry. + /// </summary> + [Required] + public long SubTotalSecondaryPrice { get; set; } + + /// <summary> + /// The list of prices and tariffs relevant for this breakdown entry. + /// </summary> + [Required] + public List<Component> Components { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(From)}: ({From}), {nameof(To)}: ({To}), {nameof(SubTotalPrice)}: {SubTotalPrice}, {nameof(SubTotalMasterPrice)}: {SubTotalMasterPrice}, {nameof(SubTotalSecondaryPrice)}: {SubTotalSecondaryPrice}, {nameof(Components)}.Count: {Components?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs new file mode 100644 index 00000000..8e050efa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// BreakdownSummary. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class BreakdownSummary +{ + /// <summary> + /// Total master price for the given charge. + /// </summary> + [Required] + public long TotalMasterPrice { get; set; } + + /// <summary> + /// Total secondary price for the given charge. + /// </summary> + [Required] + public long TotalSecondaryPrice { get; set; } + + /// <summary> + /// Total fees for the given charge. + /// </summary> + [Required] + public long TotalFees { get; set; } + + /// <summary> + /// Total adjustments for a given charge, for instance, based on certain business rules, the final price may be adjusted to prevent it from exceeding 1000 EUR. + /// </summary> + [Required] + public long TotalAdjustments { get; set; } + + /// <summary> + /// Total price for the given charge. + /// </summary> + [Required] + public long TotalPrice { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TotalMasterPrice)}: {TotalMasterPrice}, {nameof(TotalSecondaryPrice)}: {TotalSecondaryPrice}, {nameof(TotalFees)}: {TotalFees}, {nameof(TotalAdjustments)}: {TotalAdjustments}, {nameof(TotalPrice)}: {TotalPrice}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs new file mode 100644 index 00000000..453beb76 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs @@ -0,0 +1,226 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Charge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Charge +{ + /// <summary> + /// Id of the charge. + /// </summary> + public long Id { get; set; } + + [Required] + public PublicUser User { get; set; } + + public SimpleTeamMemberDto? TeamMember { get; set; } + + [Required] + public ChargeType Type { get; set; } + + /// <summary> + /// Id of the charge point related to this charge. + /// </summary> + public long ChargePointId { get; set; } + + [Required] + public PublicChargePoint PublicChargePoint { get; set; } + + /// <summary> + /// Id of the sponsored charge point related to this charge. + /// </summary> + public long? SponsoredChargePointId { get; set; } + + /// <summary> + /// Id of the price group related to this charge. Note: The underlying price/costGroup models can change and you have + /// to use other fields to get the historic data (costBreakdown, priceBreakdown, price) + /// . + /// </summary> + public long PriceGroupId { get; set; } + + /// <summary> + /// Id of the cost price group related to this charge. + /// </summary> + public long? CostPriceGroupId { get; set; } + + /// <summary> + /// Id of the site in which the charge point that performed this charge is. + /// </summary> + public long? SiteId { get; set; } + + /// <summary> + /// Creation date. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Update date. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <summary> + /// Date when cable was plugged in. + /// </summary> + public DateTimeOffset? CablePluggedInAt { get; set; } + + /// <summary> + /// Date when charge started. + /// </summary> + public DateTimeOffset? StartedAt { get; set; } + + /// <summary> + /// Date when charge stopped. + /// </summary> + public DateTimeOffset? StoppedAt { get; set; } + + /// <summary> + /// Date when EV was fully charged. + /// </summary> + public DateTimeOffset? FullyChargedAt { get; set; } + + /// <summary> + /// Date when cable was released. + /// </summary> + public DateTimeOffset? ReleasedAt { get; set; } + + /// <summary> + /// Date when charge failed. + /// </summary> + public DateTimeOffset? FailedAt { get; set; } + + /// <summary> + /// Date when charge timed out. + /// </summary> + public DateTimeOffset? TimeoutAt { get; set; } + + /// <summary> + /// Date when charge was considered completed. + /// </summary> + public DateTimeOffset? CompletedAt { get; set; } + + [Required] + public ChargeStateDto State { get; set; } + + /// <summary> + /// Indicates the starting source for this charge, e.g app-ios, app-android <br />Note: This is an ever-growing list, new values might be added. Please make sure to implement appropriate fallbacks. + /// </summary> + public string? StartSource { get; set; } + + /// <summary> + /// Consumed Kwh. + /// </summary> + public double? ConsumedKwh { get; set; } + + /// <summary> + /// Configured Kwh limit for this charge. + /// </summary> + public double? KwhLimit { get; set; } + + /// <summary> + /// List of consumed Kwh split by hour. + /// </summary> + [Required] + public List<KwhPerHour> KwhPerHour { get; set; } + + /// <summary> + /// Kwh of the meter before charging started. + /// </summary> + public double? StartMeterKwh { get; set; } + + /// <summary> + /// Kwh of the meter after charging stopped. + /// </summary> + public double? EndMeterKwh { get; set; } + + /// <summary> + /// Price for this charge. + /// </summary> + public double? Price { get; set; } + + /// <summary> + /// Configured price limit for this charge. + /// </summary> + public double? PriceLimit { get; set; } + + /// <summary> + /// Average price per Kwh. + /// </summary> + public double? AveragePricePerKwh { get; set; } + + /// <summary> + /// Average CO2 consumption per Kwh. + /// </summary> + public double? AverageCo2PerKwh { get; set; } + + /// <summary> + /// Average percentage of renewable energy per Kwh. + /// </summary> + public double? AverageRenewablePerKwh { get; set; } + + /// <summary> + /// Failure reason for this charge. + /// </summary> + public string? FailureReason { get; set; } + + /// <summary> + /// Reason why this charge stopped. + /// </summary> + public string? StopReason { get; set; } + + /// <summary> + /// Payment method for this charge. + /// </summary> + public string? PaymentMethod { get; set; } + + /// <summary> + /// A note taken for this charge. + /// </summary> + public string? Note { get; set; } + + public Currency? Currency { get; set; } + + public PayingTeam? PayingTeam { get; set; } + + public SponsorTeam? SponsorTeam { get; set; } + + public Operator? Operator { get; set; } + + public ChargeAuthentication? ChargeAuth { get; set; } + + public StateOfCharge? Soc { get; set; } + + /// <summary> + /// Configured SoC limit for this charge. + /// </summary> + public double? SocLimit { get; set; } + + public GenericPaymentSession? GenericPaymentSession { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. **We recommend to fill this always with a unique identifier from your side,since it allows you to find a started charge later, even if this requests'response was not captured by you or something went wrong.**. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <summary> + /// The charge point KW recorded during the charge. + /// </summary> + public double? ChargePointKw { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(User)}: ({User}), {nameof(TeamMember)}: ({TeamMember}), {nameof(Type)}: ({Type}), {nameof(ChargePointId)}: {ChargePointId}, {nameof(PublicChargePoint)}: ({PublicChargePoint}), {nameof(SponsoredChargePointId)}: {SponsoredChargePointId}, {nameof(PriceGroupId)}: {PriceGroupId}, {nameof(CostPriceGroupId)}: {CostPriceGroupId}, {nameof(SiteId)}: {SiteId}, {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(CablePluggedInAt)}: ({CablePluggedInAt}), {nameof(StartedAt)}: ({StartedAt}), {nameof(StoppedAt)}: ({StoppedAt}), {nameof(FullyChargedAt)}: ({FullyChargedAt}), {nameof(ReleasedAt)}: ({ReleasedAt}), {nameof(FailedAt)}: ({FailedAt}), {nameof(TimeoutAt)}: ({TimeoutAt}), {nameof(CompletedAt)}: ({CompletedAt}), {nameof(State)}: ({State}), {nameof(StartSource)}: {StartSource}, {nameof(ConsumedKwh)}: {ConsumedKwh}, {nameof(KwhLimit)}: {KwhLimit}, {nameof(KwhPerHour)}.Count: {KwhPerHour?.Count ?? 0}, {nameof(StartMeterKwh)}: {StartMeterKwh}, {nameof(EndMeterKwh)}: {EndMeterKwh}, {nameof(Price)}: {Price}, {nameof(PriceLimit)}: {PriceLimit}, {nameof(AveragePricePerKwh)}: {AveragePricePerKwh}, {nameof(AverageCo2PerKwh)}: {AverageCo2PerKwh}, {nameof(AverageRenewablePerKwh)}: {AverageRenewablePerKwh}, {nameof(FailureReason)}: {FailureReason}, {nameof(StopReason)}: {StopReason}, {nameof(PaymentMethod)}: {PaymentMethod}, {nameof(Note)}: {Note}, {nameof(Currency)}: ({Currency}), {nameof(PayingTeam)}: ({PayingTeam}), {nameof(SponsorTeam)}: ({SponsorTeam}), {nameof(Operator)}: ({Operator}), {nameof(ChargeAuth)}: ({ChargeAuth}), {nameof(Soc)}: ({Soc}), {nameof(SocLimit)}: {SocLimit}, {nameof(GenericPaymentSession)}: ({GenericPaymentSession}), {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}, {nameof(ChargePointKw)}: {ChargePointKw}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs new file mode 100644 index 00000000..ad629aca --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// ChargeAuthentication. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargeAuthentication +{ + /// <summary> + /// The method type used to authenticate a charge. + /// </summary> + [Required] + public string Type { get; set; } + + /// <summary> + /// The id of the chosen authentication method. + /// </summary> + [Required] + public string Id { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Type)}: {Type}, {nameof(Id)}: {Id}, {nameof(PartnerExternalId)}: {PartnerExternalId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs new file mode 100644 index 00000000..2967ec0d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// ChargeBreakdown. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargeBreakdown +{ + /// <summary> + /// The charge id associated with this charge breakdown. + /// </summary> + [Required] + public long ChargeId { get; set; } + + [Required] + public DetailedBreakdown PriceBreakdown { get; set; } + + [Required] + public DetailedBreakdown CostBreakdown { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeId)}: {ChargeId}, {nameof(PriceBreakdown)}: ({PriceBreakdown}), {nameof(CostBreakdown)}: ({CostBreakdown})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs new file mode 100644 index 00000000..f8b554d7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// ChargeCost. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargeCost +{ + /// <summary> + /// Hour for the sum of the cost. + /// </summary> + [Required] + public DateTimeOffset Time { get; set; } + + /// <summary> + /// Sum of cost for this hour. + /// </summary> + public double Value { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Time)}: ({Time}), {nameof(Value)}: {Value}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs new file mode 100644 index 00000000..91811756 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// ChargePrice. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePrice +{ + /// <summary> + /// Hour for the sum of the price. + /// </summary> + [Required] + public DateTimeOffset Time { get; set; } + + /// <summary> + /// Sum of price for this hour. + /// </summary> + public double Value { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Time)}: ({Time}), {nameof(Value)}: {Value}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs new file mode 100644 index 00000000..d70f4a01 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// ChargesInsight. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargesInsight +{ + [Required] + public ChargesInsightTypeDto Type { get; set; } + + /// <summary> + /// Indicates the starting period (`fromDate`) used calculate the insights, format (YYYY-MM-DD)<br /><br />*Note*: The date will be always in UTC. + /// </summary> + [Required] + public DateTimeOffset FromDate { get; set; } + + /// <summary> + /// Indicates the end period (`toDate`) used calculate the insights, format (YYYY-MM-DD), always in UCT<br /><br />*Note*: The date will be always in UTC. + /// </summary> + [Required] + public DateTimeOffset ToDate { get; set; } + + /// <summary> + /// The title for for this charge insight. + /// </summary> + [Required] + public string Title { get; set; } + + [Required] + public Operator Operator { get; set; } + + [Required] + public Currency Currency { get; set; } + + /// <summary> + /// The compilation of insights entries composing this charge insight. + /// </summary> + [Required] + public List<ChargesInsightEntry> Insights { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Type)}: ({Type}), {nameof(FromDate)}: ({FromDate}), {nameof(ToDate)}: ({ToDate}), {nameof(Title)}: {Title}, {nameof(Operator)}: ({Operator}), {nameof(Currency)}: ({Currency}), {nameof(Insights)}.Count: {Insights?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs new file mode 100644 index 00000000..f04eef9a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// ChargesInsightEntry. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargesInsightEntry +{ + [Required] + public ChargesInsightEntryTypeDto Type { get; set; } + + [Required] + public ChargesInsightSummary Summary { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Type)}: ({Type}), {nameof(Summary)}: ({Summary})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs new file mode 100644 index 00000000..342df4cf --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// ChargesInsightSummary. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargesInsightSummary +{ + /// <summary> + /// The total kWh charged for this entry. + /// </summary> + [Required] + public double TotalKwh { get; set; } + + /// <summary> + /// The total price for this entry. + /// </summary> + [Required] + public long TotalPrice { get; set; } + + /// <summary> + /// The total cost for this entry. + /// </summary> + [Required] + public long TotalCost { get; set; } + + /// <summary> + /// The total sessions for this entry. + /// </summary> + [Required] + public long TotalSessions { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TotalKwh)}: {TotalKwh}, {nameof(TotalPrice)}: {TotalPrice}, {nameof(TotalCost)}: {TotalCost}, {nameof(TotalSessions)}: {TotalSessions}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Component.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Component.verified.cs new file mode 100644 index 00000000..151daad4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Component.verified.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Component. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Component +{ + [Required] + public ComponentTypeDto Type { get; set; } + + /// <summary> + /// The price of this component. + /// </summary> + [Required] + public long Price { get; set; } + + /// <summary> + /// The readable description of this component. + /// </summary> + [Required] + public string Description { get; set; } + + /// <summary> + /// Indicates this component is master a master pricing. + /// </summary> + [Required] + public bool MasterPricing { get; set; } + + public PriceGroupTag? Tag { get; set; } + + public ComponentMetadataDto? Metadata { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Type)}: ({Type}), {nameof(Price)}: {Price}, {nameof(Description)}: {Description}, {nameof(MasterPricing)}: {MasterPricing}, {nameof(Tag)}: ({Tag}), {nameof(Metadata)}: ({Metadata})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs new file mode 100644 index 00000000..1f46b569 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// DetailedBreakdown. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DetailedBreakdown +{ + [Required] + public BreakdownSummary Summary { get; set; } + + [Required] + public Currency Currency { get; set; } + + /// <summary> + /// The breakdown entries for this breakdown, currently organized on an hourly basis. + /// </summary> + [Required] + public List<Breakdown> Breakdown { get; set; } + + /// <summary> + /// The fees that compose this breakdown. + /// </summary> + [Required] + public List<Component> Fees { get; set; } + + /// <summary> + /// The adjustments applied for this breakdown. + /// </summary> + [Required] + public List<Component> Adjustments { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Summary)}: ({Summary}), {nameof(Currency)}: ({Currency}), {nameof(Breakdown)}.Count: {Breakdown?.Count ?? 0}, {nameof(Fees)}.Count: {Fees?.Count ?? 0}, {nameof(Adjustments)}.Count: {Adjustments?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs new file mode 100644 index 00000000..e13aa0e7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// GenericPaymentSession. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GenericPaymentSession +{ + /// <summary> + /// The provider of the payment session. + /// </summary> + [Required] + public string Provider { get; set; } + + /// <summary> + /// The external id of the payment session. Allows retrieving receipts via receipt.monta.com by using date and `externalId` or `cardLast4`. + /// </summary> + [Required] + public string ExternalId { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// The brand of the card used for the payment session. + /// </summary> + public string? CardBrand { get; set; } + + /// <summary> + /// The last 4 digits of the card used for the payment session. Allows retrieving receipts via receipt.monta.com by using date and `externalId` or `cardLast4`. + /// </summary> + public string? CardLast4 { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Provider)}: {Provider}, {nameof(ExternalId)}: {ExternalId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(CardBrand)}: {CardBrand}, {nameof(CardLast4)}: {CardLast4}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs new file mode 100644 index 00000000..976182cb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// KwhPerHour. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class KwhPerHour +{ + /// <summary> + /// Hour for the sum of the kwh. + /// </summary> + [Required] + public DateTimeOffset Time { get; set; } + + /// <summary> + /// Sum of kwh for this hour. + /// </summary> + public double Value { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Time)}: ({Time}), {nameof(Value)}: {Value}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs new file mode 100644 index 00000000..d69ab05c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// MontaPageChargeDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargeDto +{ + [Required] + public List<Charge> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs new file mode 100644 index 00000000..7f6e8d85 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// PatchCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchCharge +{ + public GenericPaymentSession? GenericPaymentSession { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(GenericPaymentSession)}: ({GenericPaymentSession}), {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs new file mode 100644 index 00000000..3a5adf4d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// PayingTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PayingTeam +{ + /// <summary> + /// Id of the paying team. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Public name of the team. + /// </summary> + [Required] + public string PublicName { get; set; } + + /// <summary> + /// Id of the operator the paying team belongs to. + /// </summary> + public long OperatorId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(PublicName)}: {PublicName}, {nameof(OperatorId)}: {OperatorId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs new file mode 100644 index 00000000..0f5c955e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// PublicChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PublicChargePoint +{ + /// <summary> + /// Id of this charge point. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// The EVSE id for this charge point. + /// </summary> + [Required] + public string EvseId { get; set; } + + /// <summary> + /// Name of the charge point. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// The charge point operator name. + /// </summary> + [Required] + public string ChargePointOperatorName { get; set; } + + [Required] + public Location Location { get; set; } + + /// <summary> + /// Max KW available at this charge point. + /// </summary> + public double? MaxKw { get; set; } + + /// <summary> + /// The ID of the charge point model for this charge point. + /// </summary> + public long? ChargePointModelId { get; set; } + + /// <summary> + /// Brand name for this charge point. + /// </summary> + public string? BrandName { get; set; } + + /// <summary> + /// Model name for this charge point. + /// </summary> + public string? ModelName { get; set; } + + /// <summary> + /// Date this charge point was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(EvseId)}: {EvseId}, {nameof(Name)}: {Name}, {nameof(ChargePointOperatorName)}: {ChargePointOperatorName}, {nameof(Location)}: ({Location}), {nameof(MaxKw)}: {MaxKw}, {nameof(ChargePointModelId)}: {ChargePointModelId}, {nameof(BrandName)}: {BrandName}, {nameof(ModelName)}: {ModelName}, {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs new file mode 100644 index 00000000..a59bd125 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a charge price and cost breakdown. +/// Operation: GetChargeBreakdown. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeBreakdownParameters +{ + [Required] + public long ChargeId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeId)}: {ChargeId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs new file mode 100644 index 00000000..2b5ab532 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single charge. +/// Operation: GetCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeParameters +{ + [Required] + public long ChargeId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeId)}: {ChargeId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs new file mode 100644 index 00000000..c57c99b3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of charges. +/// Operation: GetCharges. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargesParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public long? TeamId { get; set; } + + public long? ChargePointId { get; set; } + + public long? SiteId { get; set; } + + public string? State { get; set; } + + public DateTimeOffset? FromDate { get; set; } + + public DateTimeOffset? ToDate { get; set; } + + public ChargeAuthenticationType? ChargeAuthType { get; set; } + + public string? ChargeAuthId { get; set; } + + public string? PartnerExternalId { get; set; } + + public OperatorRole? OperatorRole { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(TeamId)}: {TeamId}, {nameof(ChargePointId)}: {ChargePointId}, {nameof(SiteId)}: {SiteId}, {nameof(State)}: {State}, {nameof(FromDate)}: ({FromDate}), {nameof(ToDate)}: ({ToDate}), {nameof(ChargeAuthType)}: ({ChargeAuthType}), {nameof(ChargeAuthId)}: {ChargeAuthId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(OperatorRole)}: ({OperatorRole})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs new file mode 100644 index 00000000..20459251 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Parameters for operation request. +/// Description: Patch an existing charge. +/// Operation: PatchCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargeParameters +{ + [Required] + public long ChargeId { get; set; } + + [Required] + public PatchCharge Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeId)}: {ChargeId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs new file mode 100644 index 00000000..d0e1b3f1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Parameters for operation request. +/// Description: Restart or start a reserved charge. +/// Operation: RestartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class RestartChargeParameters +{ + [Required] + public long ChargeId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeId)}: {ChargeId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs new file mode 100644 index 00000000..68d845de --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Parameters for operation request. +/// Description: Start a charge. +/// Operation: StartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class StartChargeParameters +{ + [Required] + public StartChargeRequest Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs new file mode 100644 index 00000000..6cc05593 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// Parameters for operation request. +/// Description: Stop a charge. +/// Operation: StopCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class StopChargeParameters +{ + [Required] + public long ChargeId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeId)}: {ChargeId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs new file mode 100644 index 00000000..b987b467 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// SimpleTeamMemberDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SimpleTeamMemberDto +{ + /// <summary> + /// Id of the team member. + /// </summary> + [Required] + public string Id { get; set; } + + /// <summary> + /// Team id of team member. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// The team member display name, formats can be: `First and Last Name`, `User: #id`, `email`, or `phone`. + /// </summary> + public string? DisplayName { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// User id of team member. If the user does not exist yet, it will be null. + /// </summary> + public long? UserId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(TeamId)}: {TeamId}, {nameof(DisplayName)}: {DisplayName}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(UserId)}: {UserId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs new file mode 100644 index 00000000..f6da3a04 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// SponsorTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SponsorTeam +{ + /// <summary> + /// ID of the sponsor team. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Public team name. + /// </summary> + [Required] + public string PublicName { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(PublicName)}: {PublicName}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs new file mode 100644 index 00000000..40ff81c3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// StartChargeRequest. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class StartChargeRequest +{ + /// <summary> + /// The `id` of the team that will be paying for the charge. + /// </summary> + [Required] + public long PayingTeamId { get; set; } + + /// <summary> + /// Id of the charge point used for this charge. + /// </summary> + [Required] + public long ChargePointId { get; set; } + + /// <summary> + /// If true, a charge point will be reserved and a charge object with state reserved will be returned. + /// Use `restart` endpoint to start the charge. + /// . + /// </summary> + public bool ReserveCharge { get; set; } + + /// <summary> + /// The charge kWh limit, meaning the charge will stop once the limit kWh is reached. <br />*Note*: `kwhLimit` can be set in parallel with `socLimit`, in this case the first limit to hit will stop the charge. + /// </summary> + public double? KwhLimit { get; set; } + + /// <summary> + /// The charge SoC limit, meaning the charge will stop once the limit SoC % is reached. <br />*Note*: `socLimit` can be set in parallel with `kwhLimit`, in this case the first limit to hit will stop the charge. + /// </summary> + public double? SocLimit { get; set; } + + /// <summary> + /// Allows you to enforce a specific price group for this charge. <br />*Note*: The price group must be of type `team` or `charge-point`. + /// </summary> + [Range(0, 2147483647)] + public long? PriceGroupId { get; set; } + + public GenericPaymentSession? GenericPaymentSession { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PayingTeamId)}: {PayingTeamId}, {nameof(ChargePointId)}: {ChargePointId}, {nameof(ReserveCharge)}: {ReserveCharge}, {nameof(KwhLimit)}: {KwhLimit}, {nameof(SocLimit)}: {SocLimit}, {nameof(PriceGroupId)}: {PriceGroupId}, {nameof(GenericPaymentSession)}: ({GenericPaymentSession}), {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs new file mode 100644 index 00000000..11ea1f84 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Charges; + +/// <summary> +/// StateOfCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class StateOfCharge +{ + /// <summary> + /// Value of SoC in %. + /// </summary> + public double Percentage { get; set; } + + /// <summary> + /// Source of this value, eg vehicle or charge-point. + /// </summary> + [Required] + public string Source { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Percentage)}: {Percentage}, {nameof(Source)}: {Source}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/Country.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/Country.verified.cs new file mode 100644 index 00000000..71fa20c2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/Country.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Countries; + +/// <summary> +/// Country. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Country +{ + /// <summary> + /// Id of the country. + /// </summary> + [Required] + public long Id { get; set; } + + /// <summary> + /// Name of the country. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Country code in Alpha-2 format, following ISO-3166. + /// </summary> + [Required] + public string Alpha2Code { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Name)}: {Name}, {nameof(Alpha2Code)}: {Alpha2Code}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs new file mode 100644 index 00000000..5fd2d50d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Countries; + +/// <summary> +/// MontaPageCountryDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageCountryDto +{ + [Required] + public List<Country> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs new file mode 100644 index 00000000..11451b53 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Countries; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a country. +/// Operation: GetCountry. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountryParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs new file mode 100644 index 00000000..64f35068 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.CountryAreas; + +/// <summary> +/// CountryArea. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CountryArea +{ + /// <summary> + /// Id of the country area. + /// </summary> + [Required] + public long Id { get; set; } + + /// <summary> + /// Id of the country for the country area. + /// </summary> + [Required] + public long CountryId { get; set; } + + /// <summary> + /// Name of the country area. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// The external id of the country area. + /// </summary> + public string? ExternalId { get; set; } + + [Required] + public CountryAreaLevel Level { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(CountryId)}: {CountryId}, {nameof(Name)}: {Name}, {nameof(ExternalId)}: {ExternalId}, {nameof(Level)}: ({Level})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs new file mode 100644 index 00000000..7362ea19 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.CountryAreas; + +/// <summary> +/// MontaPageCountryAreaDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageCountryAreaDto +{ + [Required] + public List<CountryArea> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs new file mode 100644 index 00000000..8b3ee4ae --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.CountryAreas; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a country areas. +/// Operation: GetCountriesAreas. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountriesAreasParameters +{ + [Required] + [Range(0, 2147483647)] + public long CountryId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(CountryId)}: {CountryId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs new file mode 100644 index 00000000..b4a65f87 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.CountryAreas; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a country area. +/// Operation: GetCountryArea. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountryAreaParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs new file mode 100644 index 00000000..601e0d93 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; + +/// <summary> +/// CurrencyDto3. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CurrencyDto3 +{ + /// <summary> + /// id of the currency. + /// </summary> + [Range(0, 2147483647)] + public long? Id { get; set; } + + /// <summary> + /// Currency identifier, e.g. DKK. + /// </summary> + public string? Identifier { get; set; } + + /// <summary> + /// Readable name of currency. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// Number of decimals for this currency. + /// </summary> + public int Decimals { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Identifier)}: {Identifier}, {nameof(Name)}: {Name}, {nameof(Decimals)}: {Decimals}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs new file mode 100644 index 00000000..20e80db4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; + +/// <summary> +/// CurrencyDto4. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CurrencyDto4 +{ + /// <summary> + /// id of the currency. + /// </summary> + [Range(0, 2147483647)] + public long? Id { get; set; } + + /// <summary> + /// Currency identifier, e.g. DKK. + /// </summary> + public string? Identifier { get; set; } + + /// <summary> + /// Readable name of currency. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// Number of decimals for this currency. + /// </summary> + public int Decimals { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Identifier)}: {Identifier}, {nameof(Name)}: {Name}, {nameof(Decimals)}: {Decimals}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs new file mode 100644 index 00000000..5d05d179 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; + +/// <summary> +/// MontaPageCurrencyDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageCurrencyDto +{ + [Required] + public List<CurrencyDto3> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs new file mode 100644 index 00000000..bfa85c39 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of currencies. +/// Operation: GetCurrencies. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCurrenciesParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public string? Identifier { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(Identifier)}: {Identifier}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs new file mode 100644 index 00000000..89e7af1a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single currency. +/// Operation: GetCurrency. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCurrencyParameters +{ + [Required] + public long CurrencyId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(CurrencyId)}: {CurrencyId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs new file mode 100644 index 00000000..1b2fbf30 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Insights; + +/// <summary> +/// ChargesInsightChargerReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargesInsightChargerReport +{ + /// <summary> + /// Team ID used for this report. + /// </summary> + [Required] + public long TeamId { get; set; } + + /// <summary> + /// ID of the Charge Point. + /// </summary> + [Required] + public long ChargePointId { get; set; } + + /// <summary> + /// Date time of the last charge at this charge point during the report period. Null if no charges were made. + /// </summary> + public DateTimeOffset? LastChargeAt { get; set; } + + /// <summary> + /// Charge consumptions. + /// </summary> + [Required] + public List<ChargesInsightChargerReportDtoConsumption> Consumptions { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(ChargePointId)}: {ChargePointId}, {nameof(LastChargeAt)}: ({LastChargeAt}), {nameof(Consumptions)}.Count: {Consumptions?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs new file mode 100644 index 00000000..cc1d7a37 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Insights; + +/// <summary> +/// ChargesInsightChargerReportDtoConsumption. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargesInsightChargerReportDtoConsumption +{ + /// <summary> + /// Number of charging sessions. + /// </summary> + [Required] + public long TotalSessions { get; set; } + + /// <summary> + /// Sum of all Kwh consumed. + /// </summary> + [Required] + public double TotalKwh { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TotalSessions)}: {TotalSessions}, {nameof(TotalKwh)}: {TotalKwh}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs new file mode 100644 index 00000000..37e6a422 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Insights; + +/// <summary> +/// ChargesInsightDriverReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargesInsightDriverReport +{ + /// <summary> + /// Team ID used for this report. + /// </summary> + [Required] + public long TeamId { get; set; } + + /// <summary> + /// Team Member ID of the Driver. + /// </summary> + [Required] + public long TeamMemberId { get; set; } + + /// <summary> + /// User ID of the Driver. + /// </summary> + [Required] + public long UserId { get; set; } + + /// <summary> + /// Charge consumptions grouped by `chargeType`. + /// </summary> + [Required] + public List<ChargesInsightDriverReportDtoConsumption> Consumptions { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(TeamMemberId)}: {TeamMemberId}, {nameof(UserId)}: {UserId}, {nameof(Consumptions)}.Count: {Consumptions?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs new file mode 100644 index 00000000..388a4821 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs @@ -0,0 +1,60 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Insights; + +/// <summary> +/// ChargesInsightDriverReportDtoConsumption. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargesInsightDriverReportDtoConsumption +{ + /// <summary> + /// Defines the type of charge, ie. if it was a sponsored or public charge. + /// definitions: + /// * `sponsored` - Charges that have been sponsored. + /// * `team-operator` - Charges that belong to Charge Points of the same operator as paying team operator. + /// * `public` - Any charge that was paid for by this team that does not match the other cases. + /// Note that more chargeTypes might be added in the future. Make sure to handle this gracefully. + /// . + /// </summary> + [Required] + public string ChargeType { get; set; } + + /// <summary> + /// Number of charging sessions. + /// </summary> + [Required] + public long TotalSessions { get; set; } + + /// <summary> + /// Sum of all Kwh consumed. + /// </summary> + [Required] + public double TotalKwh { get; set; } + + /// <summary> + /// Sum of all charge net prices. + /// </summary> + [Required] + public double TotalNetPrice { get; set; } + + /// <summary> + /// Sum of all charge vat amounts. + /// </summary> + [Required] + public double TotalVat { get; set; } + + /// <summary> + /// Sum of all charge gross prices. + /// </summary> + [Required] + public double TotalGrossPrice { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargeType)}: {ChargeType}, {nameof(TotalSessions)}: {TotalSessions}, {nameof(TotalKwh)}: {TotalKwh}, {nameof(TotalNetPrice)}: {TotalNetPrice}, {nameof(TotalVat)}: {TotalVat}, {nameof(TotalGrossPrice)}: {TotalGrossPrice}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs new file mode 100644 index 00000000..76ac5f11 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Insights; + +/// <summary> +/// MontaPageChargesInsightChargerReportDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargesInsightChargerReportDto +{ + [Required] + public List<ChargesInsightChargerReport> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs new file mode 100644 index 00000000..e6d44050 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Insights; + +/// <summary> +/// MontaPageChargesInsightDriverReportDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageChargesInsightDriverReportDto +{ + [Required] + public List<ChargesInsightDriverReport> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs new file mode 100644 index 00000000..6150df42 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs @@ -0,0 +1,31 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Insights; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve insights about charge points. +/// Operation: GetInsightsChargesChargerReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInsightsChargesChargerReportParameters +{ + [Required] + public long TeamId { get; set; } + + public string? ChargePointIds { get; set; } + + [Required] + public DateTimeOffset FromDate { get; set; } + + [Required] + public DateTimeOffset ToDate { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(ChargePointIds)}: {ChargePointIds}, {nameof(FromDate)}: ({FromDate}), {nameof(ToDate)}: ({ToDate})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs new file mode 100644 index 00000000..a5cde79d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Insights; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve insights about charges broken down by team members of a team. +/// Operation: GetInsightsChargesDriverReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInsightsChargesDriverReportParameters +{ + [Required] + public long TeamId { get; set; } + + public string? TeamMemberIds { get; set; } + + [Required] + public DateTimeOffset FromDate { get; set; } + + [Required] + public DateTimeOffset ToDate { get; set; } + + public DriverReportDatesFilteredBy? DatesFilteredBy { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(TeamMemberIds)}: {TeamMemberIds}, {nameof(FromDate)}: ({FromDate}), {nameof(ToDate)}: ({ToDate}), {nameof(DatesFilteredBy)}: ({DatesFilteredBy})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs new file mode 100644 index 00000000..c6d3f407 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; + +/// <summary> +/// CreateInstallerJobDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateInstallerJobDto +{ + /// <summary> + /// Site id of the site where the installer job will be created. + /// </summary> + [Required] + public long SiteId { get; set; } + + /// <summary> + /// A description of the installer job, visible for the installer. + /// </summary> + public string? Description { get; set; } + + /// <summary> + /// The email of the installer. If provided, an email will be sent to the installerwith the description of the installer job. + /// </summary> + public string? Email { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SiteId)}: {SiteId}, {nameof(Description)}: {Description}, {nameof(Email)}: {Email}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs new file mode 100644 index 00000000..15532b85 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs @@ -0,0 +1,89 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; + +/// <summary> +/// InstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class InstallerJob +{ + /// <summary> + /// Id of this installer job. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Id of the site related to this installer job. + /// </summary> + public long SiteId { get; set; } + + [Required] + public Operator Operator { get; set; } + + /// <summary> + /// Id of the team of this installer job. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// Description of this installer job, will be visible to the installer. + /// </summary> + public string? Description { get; set; } + + /// <summary> + /// Public link of this installer job, shareable with the installer. + /// </summary> + [Required] + public string PublicLink { get; set; } + + /// <summary> + /// Number of charge points included in this installer job. + /// </summary> + public int ChargePointCount { get; set; } + + /// <summary> + /// Number of active (finished) charge points in this installer job. + /// </summary> + public int ChargePointActiveCount { get; set; } + + /// <summary> + /// Email of the installer assigned to this job. + /// </summary> + public string? Email { get; set; } + + /// <summary> + /// List of tasks of this installer job. + /// </summary> + [Required] + public List<InstallerJobTask> Tasks { get; set; } + + /// <summary> + /// Date this installer job was completed. + /// </summary> + public DateTimeOffset? CompletedAt { get; set; } + + /// <summary> + /// Date this installer job was created. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Date this installer job was updated. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <summary> + /// Date this installer job was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(SiteId)}: {SiteId}, {nameof(Operator)}: ({Operator}), {nameof(TeamId)}: {TeamId}, {nameof(Description)}: {Description}, {nameof(PublicLink)}: {PublicLink}, {nameof(ChargePointCount)}: {ChargePointCount}, {nameof(ChargePointActiveCount)}: {ChargePointActiveCount}, {nameof(Email)}: {Email}, {nameof(Tasks)}.Count: {Tasks?.Count ?? 0}, {nameof(CompletedAt)}: ({CompletedAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs new file mode 100644 index 00000000..97420bfc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; + +/// <summary> +/// InstallerJobTask. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class InstallerJobTask +{ + /// <summary> + /// Id of this installer job task. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Id of the installer job of this installer job task. + /// </summary> + public long InstallerJobId { get; set; } + + /// <summary> + /// Id of the charge point to install. + /// </summary> + public long ChargePointId { get; set; } + + /// <summary> + /// Serial number of the charge point to install. + /// </summary> + public string? SerialNumber { get; set; } + + /// <summary> + /// Connector ID of the charge point to install. + /// </summary> + public int Connector { get; set; } + + /// <summary> + /// Note of this installer job task, will be visible to the installer. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// Note provided by installer during this installer job task. + /// </summary> + public string? InstallerNote { get; set; } + + /// <summary> + /// Date this installer job task was active. + /// </summary> + public DateTimeOffset? ActiveAt { get; set; } + + /// <summary> + /// Creation date of this installer job task. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Date this installer job task was last updated. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <summary> + /// Date this installer job task was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(InstallerJobId)}: {InstallerJobId}, {nameof(ChargePointId)}: {ChargePointId}, {nameof(SerialNumber)}: {SerialNumber}, {nameof(Connector)}: {Connector}, {nameof(Note)}: {Note}, {nameof(InstallerNote)}: {InstallerNote}, {nameof(ActiveAt)}: ({ActiveAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs new file mode 100644 index 00000000..c2f39e3e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; + +/// <summary> +/// MontaPageInstallerJobDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageInstallerJobDto +{ + [Required] + public List<InstallerJob> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs new file mode 100644 index 00000000..24f0dfc1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing installer job. +/// Operation: DeleteInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteInstallerJobParameters +{ + [Required] + public long InstallerJobId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(InstallerJobId)}: {InstallerJobId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs new file mode 100644 index 00000000..9d3b61fa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single installer job. +/// Operation: GetInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInstallerJobParameters +{ + [Required] + public long InstallerJobId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(InstallerJobId)}: {InstallerJobId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs new file mode 100644 index 00000000..a2389572 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of installer jobs. +/// Operation: GetInstallerJobs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInstallerJobsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public long? SiteId { get; set; } + + public long? TeamId { get; set; } + + public bool? IncludeDeleted { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(SiteId)}: {SiteId}, {nameof(TeamId)}: {TeamId}, {nameof(IncludeDeleted)}: {IncludeDeleted}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs new file mode 100644 index 00000000..a1d2edf2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; + +/// <summary> +/// Parameters for operation request. +/// Description: Create an installer job. +/// Operation: PostInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostInstallerJobParameters +{ + [Required] + public CreateInstallerJobDto Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs new file mode 100644 index 00000000..265f9b0e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Operators; + +/// <summary> +/// MontaPageOperatorDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageOperatorDto +{ + [Required] + public List<Operator> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs new file mode 100644 index 00000000..38c06375 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Operators; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve an operator. +/// Operation: GetOperator. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetOperatorParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs new file mode 100644 index 00000000..139be1b0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Operators; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve operators. +/// Operation: GetOperators. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetOperatorsParameters +{ + public int? Page { get; set; } = 0; + + public int? PerPage { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs new file mode 100644 index 00000000..9fe6fcb7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; + +/// <summary> +/// MontaPagePaymentTerminalDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPagePaymentTerminalDto +{ + [Required] + public List<PaymentTerminal> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs new file mode 100644 index 00000000..d9b0712d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs @@ -0,0 +1,76 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; + +/// <summary> +/// PaymentTerminal. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PaymentTerminal +{ + /// <summary> + /// Id of this terminal. **NOTE: This is a String**. + /// </summary> + [Required] + public string Id { get; set; } + + [Required] + public PaymentTerminalType Type { get; set; } + + /// <summary> + /// The team this terminal belongs to. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// The charge points ids this terminal is assigned to. + /// </summary> + [Required] + public List<long> ChargePointIds { get; set; } + + /// <summary> + /// Serial number of the Payment Terminal. + /// </summary> + [Required] + public string Serial { get; set; } + + /// <summary> + /// Name given to the Payment Terminal, defaults to "No Name" if not set by the merchant. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Indicates if the terminal is connected or disconnected. + /// </summary> + public bool IsConnected { get; set; } + + /// <summary> + /// Date this payment terminal did connect. + /// </summary> + public DateTimeOffset? ConnectedAt { get; set; } + + /// <summary> + /// Date this entity was created. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Date this entity was updated. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <summary> + /// Date this entity was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Type)}: ({Type}), {nameof(TeamId)}: {TeamId}, {nameof(ChargePointIds)}.Count: {ChargePointIds?.Count ?? 0}, {nameof(Serial)}: {Serial}, {nameof(Name)}: {Name}, {nameof(IsConnected)}: {IsConnected}, {nameof(ConnectedAt)}: ({ConnectedAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs new file mode 100644 index 00000000..8f460a1f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single payment terminal. +/// Operation: GetPaymentTerminal. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPaymentTerminalParameters +{ + [Required] + public string PaymentTerminalId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PaymentTerminalId)}: {PaymentTerminalId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs new file mode 100644 index 00000000..dca95c1f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of payment terminals. +/// Operation: GetPaymentTerminals. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPaymentTerminalsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public string? Serial { get; set; } + + public long? TeamId { get; set; } + + public bool? IncludeDeleted { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(Serial)}: {Serial}, {nameof(TeamId)}: {TeamId}, {nameof(IncludeDeleted)}: {IncludeDeleted}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs new file mode 100644 index 00000000..ee63cd25 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Plans; + +/// <summary> +/// MontaPagePlanDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPagePlanDto +{ + [Required] + public List<Plan> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/Plan.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/Plan.verified.cs new file mode 100644 index 00000000..592598e3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/Plan.verified.cs @@ -0,0 +1,105 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Plans; + +/// <summary> +/// Plan. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Plan +{ + /// <summary> + /// The id of the Plan. + /// </summary> + [Required] + public long Id { get; set; } + + /// <summary> + /// A unique, readable, identifier of the Plan. + /// </summary> + [Required] + public string Identifier { get; set; } + + /// <summary> + /// Name of the Plan. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Determines the country where the plan is available. `null` means it is available in all countries. + /// </summary> + public long? CountryId { get; set; } + + /// <summary> + /// Description of the Plan. + /// </summary> + public string? Description { get; set; } + + /// <summary> + /// Summary of the Plan. + /// </summary> + public string? Summary { get; set; } + + /// <summary> + /// Terms of the Plan. + /// </summary> + public string? Terms { get; set; } + + /// <summary> + /// URL for a generic contract template the user can fill out right after subscribing. + /// </summary> + public string? ContractUrl { get; set; } + + /// <summary> + /// Support E-Mail for this Plan. + /// </summary> + public string? SupportEmail { get; set; } + + [Required] + public PlanApplicableFor ApplicableFor { get; set; } + + /// <summary> + /// Indicates if the plan is active (only active plans can be applied). + /// </summary> + [Required] + public bool Active { get; set; } + + [Required] + public PlanApplicationAudience ApplicationAudience { get; set; } + + /// <summary> + /// Indicates whether this plan is shown in the market place or not. + /// </summary> + [Required] + public bool VisibleInMarketPlace { get; set; } + + [Required] + public PlanPriceModel PriceModel { get; set; } + + /// <summary> + /// Active plan prices. + /// </summary> + [Required] + public List<PlanPrice> Prices { get; set; } + + /// <summary> + /// Indicates if the prices are incl. VAT or not. Default is `true`. + /// </summary> + [Required] + public bool PricesWithVat { get; set; } + + [Required] + public PlanServiceType ServiceType { get; set; } + + [Required] + public PlanServiceConfig ServiceConfig { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Identifier)}: {Identifier}, {nameof(Name)}: {Name}, {nameof(CountryId)}: {CountryId}, {nameof(Description)}: {Description}, {nameof(Summary)}: {Summary}, {nameof(Terms)}: {Terms}, {nameof(ContractUrl)}: {ContractUrl}, {nameof(SupportEmail)}: {SupportEmail}, {nameof(ApplicableFor)}: ({ApplicableFor}), {nameof(Active)}: {Active}, {nameof(ApplicationAudience)}: ({ApplicationAudience}), {nameof(VisibleInMarketPlace)}: {VisibleInMarketPlace}, {nameof(PriceModel)}: ({PriceModel}), {nameof(Prices)}.Count: {Prices?.Count ?? 0}, {nameof(PricesWithVat)}: {PricesWithVat}, {nameof(ServiceType)}: ({ServiceType}), {nameof(ServiceConfig)}: ({ServiceConfig})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs new file mode 100644 index 00000000..cad7727a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs @@ -0,0 +1,31 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Plans; + +/// <summary> +/// PlanPrice. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PlanPrice +{ + /// <summary> + /// id of the Plan Price. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Price of the plan. + /// </summary> + public double Price { get; set; } + + [Required] + public Currency Currency { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Price)}: {Price}, {nameof(Currency)}: ({Currency})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs new file mode 100644 index 00000000..7fa4c89f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Plans; + +/// <summary> +/// PlanServiceConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PlanServiceConfig +{ + /// <summary> + /// A list of PlanServiceConfig. + /// </summary> + public List<PlanServiceConfig> PlanServiceConfigList { get; set; } = new List<PlanServiceConfig>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PlanServiceConfigList)}.Count: {PlanServiceConfigList?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs new file mode 100644 index 00000000..7554e76e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Plans; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a plan. +/// Operation: GetPlan. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPlanParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs new file mode 100644 index 00000000..0540a67f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Plans; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve plans. +/// Operation: GetPlans. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPlansParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs new file mode 100644 index 00000000..0c32d914 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; + +/// <summary> +/// CreatePriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreatePriceGroupTag +{ + /// <summary> + /// Name of the tag. names are unique and cannot be reused. + /// </summary> + [Required] + [MinLength(1)] + public string Name { get; set; } + + /// <summary> + /// Description of the tag. + /// </summary> + public string? Description { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Name)}: {Name}, {nameof(Description)}: {Description}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs new file mode 100644 index 00000000..fd329dae --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; + +/// <summary> +/// MontaPagePriceGroupTagDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPagePriceGroupTagDto +{ + [Required] + public List<PriceGroupTag> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs new file mode 100644 index 00000000..c9468a7c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; + +/// <summary> +/// PatchPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchPriceGroupTag +{ + /// <summary> + /// Name of the tag. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// Description of the tag. + /// </summary> + public string? Description { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Name)}: {Name}, {nameof(Description)}: {Description}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs new file mode 100644 index 00000000..b28af855 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing price group tag. +/// Operation: DeletePriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeletePriceGroupTagParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs new file mode 100644 index 00000000..e3f0e50e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single price group tag. +/// Operation: GetPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupTagParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs new file mode 100644 index 00000000..1310cd6e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve price group tags. +/// Operation: GetPriceGroupTags. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupTagsParameters +{ + public string? Name { get; set; } + + public string? PartnerExternalId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Name)}: {Name}, {nameof(PartnerExternalId)}: {PartnerExternalId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs new file mode 100644 index 00000000..5d52676f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; + +/// <summary> +/// Parameters for operation request. +/// Description: Update a price group tag. +/// Operation: PatchPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchPriceGroupTagParameters +{ + [Required] + public long Id { get; set; } + + [Required] + public PatchPriceGroupTag Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs new file mode 100644 index 00000000..15b0615b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; + +/// <summary> +/// Parameters for operation request. +/// Description: Create a price group tag. +/// Operation: PostPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostPriceGroupTagParameters +{ + [Required] + public CreatePriceGroupTag Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs new file mode 100644 index 00000000..da0782fa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// ApplyPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ApplyPriceGroup +{ + /// <summary> + /// List of charge point ids. + /// </summary> + public List<long>? SelectedChargePointIds { get; set; } = new List<long>(); + + /// <summary> + /// List of site ids. + /// </summary> + public List<long>? SelectedSiteIds { get; set; } = new List<long>(); + + /// <summary> + /// List of team member ids. + /// </summary> + public List<long>? SelectedTeamMemberIds { get; set; } = new List<long>(); + + /// <summary> + /// Flag to indicate if costs should be reset. + /// </summary> + public bool? ResetCost { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SelectedChargePointIds)}.Count: {SelectedChargePointIds?.Count ?? 0}, {nameof(SelectedSiteIds)}.Count: {SelectedSiteIds?.Count ?? 0}, {nameof(SelectedTeamMemberIds)}.Count: {SelectedTeamMemberIds?.Count ?? 0}, {nameof(ResetCost)}: {ResetCost}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs new file mode 100644 index 00000000..00578180 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// CreateAdditionalPricingDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateAdditionalPricingDto +{ + [Required] + public AdditionalPricingType Type { get; set; } + + /// <summary> + /// The value of this additional pricing. + /// </summary> + [Required] + public double Value { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Type)}: ({Type}), {nameof(Value)}: {Value}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs new file mode 100644 index 00000000..07e171e8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// CreateOrUpdatePriceGroupDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateOrUpdatePriceGroupDto +{ + /// <summary> + /// Team ID. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long TeamId { get; set; } + + /// <summary> + /// Name of the price group. + /// </summary> + [Required] + public string Name { get; set; } + + [Required] + public PriceGroupType Type { get; set; } + + [Required] + public CreateOrUpdatePricingDto MasterPrice { get; set; } + + /// <summary> + /// All the fees for the price group. + /// </summary> + public List<CreateOrUpdatePricingDto>? Fees { get; set; } = new List<CreateOrUpdatePricingDto>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(Name)}: {Name}, {nameof(Type)}: ({Type}), {nameof(MasterPrice)}: ({MasterPrice}), {nameof(Fees)}.Count: {Fees?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs new file mode 100644 index 00000000..a768e8a8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs @@ -0,0 +1,96 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// CreateOrUpdatePricingDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateOrUpdatePricingDto +{ + /// <summary> + /// Name of the pricing. It is null when it's the master price. + /// </summary> + public string? Description { get; set; } + + [Required] + public PricingType Type { get; set; } + + /// <summary> + /// Used by the Minute fee. True means it will stop charging the fee when the charge is complete. False means it will stop charging the fee when the cable is unplugged. + /// </summary> + [Required] + public bool EndAtFullyCharged { get; set; } + + /// <summary> + /// Used by Spot Price. True means it will add 25% VAT in the price calculations. + /// </summary> + [Required] + public bool Vat { get; set; } + + /// <summary> + /// Used by Spot Price. It will multiply the fallback price by this percentage. + /// </summary> + public double? Percentage { get; set; } = 100.000; + + /// <summary> + /// The id of the selected Tariff. + /// </summary> + [Range(0, 2147483647)] + public long? TariffId { get; set; } + + /// <summary> + /// The id of the selected charge pricing tag. + /// </summary> + [Range(0, 2147483647)] + public long? TagId { get; set; } + + /// <summary> + /// Used by Charging, Minute and Idle Fees. After how many minutes the fee should start being applied. + /// </summary> + public int? ApplyAfterMinutes { get; set; } + + /// <summary> + /// The price of this Fee or Master price, <br />**Note**: the master price cannot be a negative value. + /// </summary> + [Required] + public double Price { get; set; } + + /// <summary> + /// Used by spot price. The minimum that the raw spot price can be. This will be used in calculations if spot price is lower than this. + /// </summary> + public double? PriceMin { get; set; } + + /// <summary> + /// Used by spot price. The maximum that the raw spot price can be. This will be used in calculations if spot price is higher than this. + /// </summary> + public double? PriceMax { get; set; } + + /// <summary> + /// Used by Idle fee. The maximum the user will be charged for the idle fee. + /// </summary> + public double? FeePriceMax { get; set; } + + /// <summary> + /// Used by spot price. Additional absolute money or percentages values to be added on top of the previous calculations. + /// </summary> + public List<CreateAdditionalPricingDto>? Additional { get; set; } = new List<CreateAdditionalPricingDto>(); + + /// <summary> + /// DateTime "from" time to which this pricing should apply from. + /// </summary> + public DateTimeOffset? From { get; set; } + + /// <summary> + /// DateTime "to" time to which this pricing should apply to. + /// </summary> + public DateTimeOffset? To { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Description)}: {Description}, {nameof(Type)}: ({Type}), {nameof(EndAtFullyCharged)}: {EndAtFullyCharged}, {nameof(Vat)}: {Vat}, {nameof(Percentage)}: {Percentage}, {nameof(TariffId)}: {TariffId}, {nameof(TagId)}: {TagId}, {nameof(ApplyAfterMinutes)}: {ApplyAfterMinutes}, {nameof(Price)}: {Price}, {nameof(PriceMin)}: {PriceMin}, {nameof(PriceMax)}: {PriceMax}, {nameof(FeePriceMax)}: {FeePriceMax}, {nameof(Additional)}.Count: {Additional?.Count ?? 0}, {nameof(From)}: ({From}), {nameof(To)}: ({To})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs new file mode 100644 index 00000000..7ca0b235 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// MontaAppResponse. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaAppResponse +{ + [Required] + public MontaHttpStatus Status { get; set; } + + public string? Message { get; set; } + + [Required] + public string Origin { get; set; } + + [Required] + public string Environment { get; set; } + + public string? LocalizedMessage { get; set; } + + public string? ErrorCode { get; set; } + + public Object? Context { get; set; } + + public List<MontaAppResponseErrorDetail>? Errors { get; set; } = new List<MontaAppResponseErrorDetail>(); + + public int StatusCode { get; set; } + + public int Code { get; set; } + + public string? Readable_message { get; set; } + + public string? Error_code { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Status)}: {Status}, {nameof(Message)}: {Message}, {nameof(Origin)}: {Origin}, {nameof(Environment)}: {Environment}, {nameof(LocalizedMessage)}: {LocalizedMessage}, {nameof(ErrorCode)}: {ErrorCode}, {nameof(Context)}: ({Context}), {nameof(Errors)}.Count: {Errors?.Count ?? 0}, {nameof(StatusCode)}: {StatusCode}, {nameof(Code)}: {Code}, {nameof(Readable_message)}: {Readable_message}, {nameof(Error_code)}: {Error_code}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs new file mode 100644 index 00000000..9cc74aeb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// MontaAppResponseErrorDetail. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaAppResponseErrorDetail +{ + public string? Field { get; set; } + + public List<MontaAppResponseErrorDetailBody>? Details { get; set; } = new List<MontaAppResponseErrorDetailBody>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Field)}: {Field}, {nameof(Details)}.Count: {Details?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs new file mode 100644 index 00000000..7b7cd2e7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// MontaAppResponseErrorDetailBody. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaAppResponseErrorDetailBody +{ + [Required] + public string Message { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Message)}: {Message}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs new file mode 100644 index 00000000..20cd8fe0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// MontaPagePriceGroupDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPagePriceGroupDto +{ + [Required] + public List<PriceGroup> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs new file mode 100644 index 00000000..8828f97b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Apply price group to charge points, sites or team members. +/// Operation: ApplyPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ApplyPriceGroupParameters +{ + [Required] + [Range(0, 2147483647)] + public long Id { get; set; } + + [Required] + public ApplyPriceGroup Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs new file mode 100644 index 00000000..ab80002e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Creates a price group. +/// Operation: CreatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreatePriceGroupParameters +{ + [Required] + public CreateOrUpdatePriceGroupDto Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs new file mode 100644 index 00000000..b43a3707 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Deletes a price group. +/// Operation: DeletePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeletePriceGroupParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs new file mode 100644 index 00000000..370bbad0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a price group. +/// Operation: GetPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs new file mode 100644 index 00000000..7553fa06 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of price groups. +/// Operation: GetPriceGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupsParameters +{ + /// <summary> + /// Filter to retrieve price groups with specified team id. + /// </summary> + [Required] + public long TeamId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs new file mode 100644 index 00000000..50d64215 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Sets a price group as default. +/// Operation: SetDefaultPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SetDefaultPriceGroupParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs new file mode 100644 index 00000000..e37ac30e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Updates a price group. +/// Operation: UpdatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdatePriceGroupParameters +{ + [Required] + public long Id { get; set; } + + [Required] + public CreateOrUpdatePriceGroupDto Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs new file mode 100644 index 00000000..9deb9637 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Prices; + +/// <summary> +/// PricesForecast. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PricesForecast +{ + [Required] + public Operator Operator { get; set; } + + [Required] + public Currency Currency { get; set; } + + [Required] + public PriceGroup PriceGroup { get; set; } + + /// <summary> + /// The compilation of entries composing this prices forecast. + /// </summary> + [Required] + public List<PricesForecastEntry> Forecasts { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Operator)}: ({Operator}), {nameof(Currency)}: ({Currency}), {nameof(PriceGroup)}: ({PriceGroup}), {nameof(Forecasts)}.Count: {Forecasts?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs new file mode 100644 index 00000000..a9009922 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Prices; + +/// <summary> +/// PricesForecastEntry. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PricesForecastEntry +{ + /// <summary> + /// The time this forecasted price is applicable, forecast is valid from time + 1 Hour. + /// </summary> + [Required] + public DateTimeOffset Time { get; set; } + + /// <summary> + /// The projected price per kWh. + /// </summary> + [Required] + public long PricePerKwh { get; set; } + + /// <summary> + /// The human readable name for the forecast (includes the currency information). + /// </summary> + [Required] + public string Name { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Time)}: ({Time}), {nameof(PricePerKwh)}: {PricePerKwh}, {nameof(Name)}: {Name}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs new file mode 100644 index 00000000..ff34007a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Prices; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve prices forecast. +/// Operation: GetPricesForecast. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPricesForecastParameters +{ + [Range(0, 2147483647)] + public long ChargePointId { get; set; } + + [Range(0, 2147483647)] + public long? PriceGroupId { get; set; } + + public long? TeamMemberId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointId)}: {ChargePointId}, {nameof(PriceGroupId)}: {PriceGroupId}, {nameof(TeamMemberId)}: {TeamMemberId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs new file mode 100644 index 00000000..ea40c6ae --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// CreateSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateSite +{ + /// <summary> + /// Id of the team that the site belongs to. + /// </summary> + [Required] + public long TeamId { get; set; } + + /// <summary> + /// Name of the site. + /// </summary> + [Required] + [MinLength(1)] + public string Name { get; set; } + + [Required] + public CreatedOrUpdateAddress Address { get; set; } + + [Required] + public VisibilityType1 Visibility { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(Name)}: {Name}, {nameof(Address)}: ({Address}), {nameof(Visibility)}: ({Visibility}), {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs new file mode 100644 index 00000000..3da7f841 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// MontaPageSiteDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageSiteDto +{ + [Required] + public List<Site> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs new file mode 100644 index 00000000..e84d10ae --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// PatchSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchSite +{ + /// <summary> + /// Name of the site. + /// </summary> + public string? Name { get; set; } + + public CreatedOrUpdateAddress? Address { get; set; } + + public VisibilityType3? Visibility { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Name)}: {Name}, {nameof(Address)}: ({Address}), {nameof(Visibility)}: ({Visibility}), {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs new file mode 100644 index 00000000..775b55a3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing (charge) site. +/// Operation: DeleteSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSiteParameters +{ + [Required] + public long SiteId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SiteId)}: {SiteId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs new file mode 100644 index 00000000..29d565e5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single (charge) site. +/// Operation: GetSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSiteParameters +{ + [Required] + public long SiteId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SiteId)}: {SiteId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs new file mode 100644 index 00000000..5ae26f3e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve your (charge) sites. +/// Operation: GetSites. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSitesParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + /// <summary> + /// The team id from which sites will be filtered by. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// Filter sites by partnerExternalId, to filter only resources without `partnerExternalId` *use* `partnerExternalId=""`. + /// </summary> + public string PartnerExternalId { get; set; } + + /// <summary> + /// lat,long coordinates. If supplied, the Charge Points will be sorted in nearest first order relative + /// to this point. (Format: 55.7096,12.5856) + /// . + /// </summary> + public string SortByLocation { get; set; } + + /// <summary> + /// Includes deleted resources in the response. + /// </summary> + public bool IncludeDeleted { get; set; } = false; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(TeamId)}: {TeamId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(SortByLocation)}: {SortByLocation}, {nameof(IncludeDeleted)}: {IncludeDeleted}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs new file mode 100644 index 00000000..ab090702 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// Parameters for operation request. +/// Description: Patch an existing (charge) site. +/// Operation: PatchSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchSiteParameters +{ + [Required] + public long SiteId { get; set; } + + [Required] + public PatchSite Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SiteId)}: {SiteId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs new file mode 100644 index 00000000..9168121e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// Parameters for operation request. +/// Description: Create a (charge) site. +/// Operation: PostSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostSiteParameters +{ + [Required] + public CreateSite Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/Site.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/Site.verified.cs new file mode 100644 index 00000000..0c3b365a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/Site.verified.cs @@ -0,0 +1,108 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Sites; + +/// <summary> +/// Site. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Site +{ + /// <summary> + /// Id of the site. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Id of the team that has access to the site. + /// </summary> + public long? TeamId { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <summary> + /// Name of the site. + /// </summary> + [Required] + public string Name { get; set; } + + public Operator? Operator { get; set; } + + /// <summary> + /// Creation date of this charging site. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Date this charging site was last updated. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <summary> + /// Date this charging site was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <summary> + /// Number of charge points at this site. + /// </summary> + public long ChargePointCount { get; set; } + + /// <summary> + /// Number of *active* charge points at this site. + /// </summary> + public long ActiveChargePointCount { get; set; } + + /// <summary> + /// Number of *available* charge points at this site. + /// </summary> + public long AvailableChargePointCount { get; set; } + + /// <summary> + /// Max KW available at this site. + /// </summary> + public double? MaxKw { get; set; } + + /// <summary> + /// Type of charge points at this site (`AC` / `DC`). + /// </summary> + public string? Type { get; set; } + + /// <summary> + /// Indicates if this site is `public` or `private`. + /// </summary> + [Required] + public string Visibility { get; set; } + + /// <summary> + /// A note you have entered for this site, e.g. via our Portal. + /// </summary> + public string? Note { get; set; } + + [Required] + public Location Location { get; set; } + + /// <summary> + /// List of supported connector types at this site (e.g. type-2, ccs, ...). + /// </summary> + [Required] + public List<ChargePointConnector> Connectors { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(TeamId)}: {TeamId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}, {nameof(Name)}: {Name}, {nameof(Operator)}: ({Operator}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt}), {nameof(ChargePointCount)}: {ChargePointCount}, {nameof(ActiveChargePointCount)}: {ActiveChargePointCount}, {nameof(AvailableChargePointCount)}: {AvailableChargePointCount}, {nameof(MaxKw)}: {MaxKw}, {nameof(Type)}: {Type}, {nameof(Visibility)}: {Visibility}, {nameof(Note)}: {Note}, {nameof(Location)}: ({Location}), {nameof(Connectors)}.Count: {Connectors?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs new file mode 100644 index 00000000..26e4c7cb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// CreateSponsoredChargePointDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateSponsoredChargePointDto +{ + /// <summary> + /// Id of the team that is sponsoring this charge point. + /// </summary> + [Range(0, 2147483647)] + public long SponsoringTeamId { get; set; } + + /// <summary> + /// Id of the charge point to be sponsored. + /// </summary> + [Range(0, 2147483647)] + public long ChargePointId { get; set; } + + /// <summary> + /// Id of the user to have a charge point sponsored. + /// </summary> + [Range(0, 2147483647)] + public long UserId { get; set; } + + /// <summary> + /// The price group for this sponsorship, Only price groups of type `reimbursement` or `sponsored` are allowed<br /><br />*Note:* if the `priceGroupId` is null the charge point cost price group will be used instead, if the charge point has no cost price group set the request will fail, please ensure that charge point has a valid cost group assigned when not providing a `priceGroupId`. + /// </summary> + [Range(0, 2147483647)] + public long? PriceGroupId { get; set; } + + [Required] + public SponsoredChargePointPayoutType PayoutSchedule { get; set; } + + /// <summary> + /// Indicates that company pay for subscriptions. + /// </summary> + public bool PayForSubscriptions { get; set; } = false; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SponsoringTeamId)}: {SponsoringTeamId}, {nameof(ChargePointId)}: {ChargePointId}, {nameof(UserId)}: {UserId}, {nameof(PriceGroupId)}: {PriceGroupId}, {nameof(PayoutSchedule)}: ({PayoutSchedule}), {nameof(PayForSubscriptions)}: {PayForSubscriptions}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs new file mode 100644 index 00000000..0be94abd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// MontaPageSponsoredChargePointDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageSponsoredChargePointDto +{ + [Required] + public List<SponsoredChargePoint> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs new file mode 100644 index 00000000..d268d2b5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// Note: Only use Optional for fields that can bet set null. Optional will insure jackson can differentiate between a field that was set to NULL X Field that was never present on the request. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchSponsoredChargePoint +{ + /// <summary> + /// The price group for this sponsorship, Only price groups of type `reimbursement` or `sponsored` are allowed<br />*Note:* if the `priceGroupId` is null the charge point cost price group will be used instead, if the charge point has no cost price group set the request will fail. + /// </summary> + public long? PriceGroupId { get; set; } + + public SponsoredChargePointPayoutType? PayoutSchedule { get; set; } + + /// <summary> + /// Indicates that company pay for subscriptions. + /// </summary> + public bool? PayForSubscriptions { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PriceGroupId)}: {PriceGroupId}, {nameof(PayoutSchedule)}: ({PayoutSchedule}), {nameof(PayForSubscriptions)}: {PayForSubscriptions}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs new file mode 100644 index 00000000..c1abe83a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing sponsored charge point. +/// Operation: DeleteSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSponsoredChargePointParameters +{ + [Required] + public long SponsoredChargePointId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SponsoredChargePointId)}: {SponsoredChargePointId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs new file mode 100644 index 00000000..b91765b5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single sponsored charge point. +/// Operation: GetSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSponsoredChargePointParameters +{ + [Required] + public long SponsoredChargePointId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SponsoredChargePointId)}: {SponsoredChargePointId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs new file mode 100644 index 00000000..3fee68d3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of sponsored charge points. +/// Operation: GetSponsoredChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSponsoredChargePointsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public long? ChargePointId { get; set; } + + public long? TeamId { get; set; } + + public bool IncludeDeleted { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(ChargePointId)}: {ChargePointId}, {nameof(TeamId)}: {TeamId}, {nameof(IncludeDeleted)}: {IncludeDeleted}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs new file mode 100644 index 00000000..b65cd5e3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Update a sponsored charge point. +/// Operation: PatchSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchSponsoredChargePointParameters +{ + [Required] + public long SponsoredChargePointId { get; set; } + + /// <summary> + /// Note: Only use Optional for fields that can bet set null. Optional will insure jackson can differentiate between a field that was set to NULL X Field that was never present on the request. + /// </summary> + [Required] + public PatchSponsoredChargePoint Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SponsoredChargePointId)}: {SponsoredChargePointId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs new file mode 100644 index 00000000..b883e8c5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// Parameters for operation request. +/// Description: Create a sponsored charge point. +/// Operation: PostSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostSponsoredChargePointParameters +{ + [Required] + public CreateSponsoredChargePointDto Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs new file mode 100644 index 00000000..ea85cfe4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// SponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SponsoredChargePoint +{ + /// <summary> + /// Id of this sponsored charge point. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Id of the team of this sponsored charge point. + /// </summary> + public long TeamId { get; set; } + + [Required] + public SponsoredChargePointPayoutType Payout { get; set; } + + /// <summary> + /// Indicates the company pays for the subscriptions. + /// </summary> + public bool PayForSubscriptions { get; set; } + + public Operator? Operator { get; set; } + + [Required] + public SponsoredChargePointData ChargePoint { get; set; } + + /// <summary> + /// Date the sponsorshi was accepted. + /// </summary> + public DateTimeOffset? AcceptedAt { get; set; } + + /// <summary> + /// Creation date of this sponsored charge point. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Date this sponsored charge point was last updated. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <summary> + /// Date this sponsored charge point was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(TeamId)}: {TeamId}, {nameof(Payout)}: ({Payout}), {nameof(PayForSubscriptions)}: {PayForSubscriptions}, {nameof(Operator)}: ({Operator}), {nameof(ChargePoint)}: ({ChargePoint}), {nameof(AcceptedAt)}: ({AcceptedAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs new file mode 100644 index 00000000..378a3dff --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs @@ -0,0 +1,97 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; + +/// <summary> +/// SponsoredChargePointData. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SponsoredChargePointData +{ + /// <summary> + /// Id of this charge point. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Name of the charge point. + /// </summary> + public string? Name { get; set; } + + public PublicUser? User { get; set; } + + public PriceGroup? SponsoredPriceGroup { get; set; } + + [Required] + public Location Location { get; set; } + + /// <summary> + /// Serial number for this charge point. + /// </summary> + public string? SerialNumber { get; set; } + + /// <summary> + /// Last meter reading (KWH) for this charge point. + /// </summary> + public double? LastMeterReadingKwh { get; set; } + + /// <summary> + /// Max KW available at this charge point. + /// </summary> + public double? MaxKw { get; set; } + + /// <summary> + /// The ID of the charge point model for this charge point. + /// </summary> + public long? ChargePointModelId { get; set; } + + /// <summary> + /// Brand name for this charge point. + /// </summary> + public string? BrandName { get; set; } + + /// <summary> + /// Model name for this charge point. + /// </summary> + public string? ModelName { get; set; } + + /// <summary> + /// Current firmware version for this charge point. + /// </summary> + public string? FirmwareVersion { get; set; } + + /// <summary> + /// Indicates if this charge point is active (true) or not (false). Active = fully onboarded to Monta. + /// </summary> + public bool IsActive { get; set; } + + /// <summary> + /// Last date when charge point was activated. + /// </summary> + public DateTimeOffset? ActiveAt { get; set; } + + /// <summary> + /// Creation date of this charge point. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Date this charge point was last updated. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <summary> + /// Date this charge point was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Name)}: {Name}, {nameof(User)}: ({User}), {nameof(SponsoredPriceGroup)}: ({SponsoredPriceGroup}), {nameof(Location)}: ({Location}), {nameof(SerialNumber)}: {SerialNumber}, {nameof(LastMeterReadingKwh)}: {LastMeterReadingKwh}, {nameof(MaxKw)}: {MaxKw}, {nameof(ChargePointModelId)}: {ChargePointModelId}, {nameof(BrandName)}: {BrandName}, {nameof(ModelName)}: {ModelName}, {nameof(FirmwareVersion)}: {FirmwareVersion}, {nameof(IsActive)}: {IsActive}, {nameof(ActiveAt)}: ({ActiveAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs new file mode 100644 index 00000000..19ae3ee2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; + +/// <summary> +/// MontaPageSubscriptionPurchaseDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageSubscriptionPurchaseDto +{ + [Required] + public List<SubscriptionPurchase> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs new file mode 100644 index 00000000..f8709af4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a subscription purchase. +/// Operation: GetSubscriptionPurchase. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionPurchaseParameters +{ + [Required] + public long SubscriptionPurchaseId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SubscriptionPurchaseId)}: {SubscriptionPurchaseId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs new file mode 100644 index 00000000..8c4d390e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of subscription purchases. +/// Operation: GetSubscriptionPurchases. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionPurchasesParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public long? SubscriptionId { get; set; } + + public bool? IncludeDeleted { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(SubscriptionId)}: {SubscriptionId}, {nameof(IncludeDeleted)}: {IncludeDeleted}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs new file mode 100644 index 00000000..48eaa87e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs @@ -0,0 +1,78 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; + +/// <summary> +/// SubscriptionPurchase. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SubscriptionPurchase +{ + /// <summary> + /// Id of the subscription purchase. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Note for this subscription purchase. + /// </summary> + public string? Note { get; set; } + + [Required] + public SubscriptionPurchaseTypeDto Type { get; set; } + + /// <summary> + /// The discount percentage applied to this purchase. + /// </summary> + public double DiscountPercentage { get; set; } + + /// <summary> + /// The absolute discount applied to this purchase. + /// </summary> + public double DiscountAbsolute { get; set; } + + /// <summary> + /// The original amount of this purchase. + /// </summary> + public double OriginalAmount { get; set; } + + /// <summary> + /// The discounted amount of this purchase. + /// </summary> + public double DiscountAmount { get; set; } + + /// <summary> + /// The total amount of this purchase. + /// </summary> + public double TotalAmount { get; set; } + + [Required] + public Currency Currency { get; set; } + + [Required] + public Subscription Subscription { get; set; } + + /// <summary> + /// Creation date of this subscription purchase. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Update date of this subscription purchase. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <summary> + /// Deleted date of this subscription purchase. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Note)}: {Note}, {nameof(Type)}: ({Type}), {nameof(DiscountPercentage)}: {DiscountPercentage}, {nameof(DiscountAbsolute)}: {DiscountAbsolute}, {nameof(OriginalAmount)}: {OriginalAmount}, {nameof(DiscountAmount)}: {DiscountAmount}, {nameof(TotalAmount)}: {TotalAmount}, {nameof(Currency)}: ({Currency}), {nameof(Subscription)}: ({Subscription}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs new file mode 100644 index 00000000..9b25ba2e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// ApproveSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ApproveSubscription +{ + /// <summary> + /// Date when wallet will be charged for the first time (ISO8601: yyyy-MM-ddTHH:mm:ssZ). + /// </summary> + public DateTimeOffset? FirstPurchaseAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(FirstPurchaseAt)}: ({FirstPurchaseAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs new file mode 100644 index 00000000..4c3ecbe2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// CreateSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateSubscription +{ + /// <summary> + /// Id of the plan to subscribe to. + /// </summary> + [Range(0, 2147483647)] + public long PlanId { get; set; } + + [Required] + public SubscriptionCustomerType CustomerType { get; set; } + + /// <summary> + /// Id of the customer the subscription is created for, e.g. a chargePointId. + /// </summary> + [Range(0, 2147483647)] + public long CustomerId { get; set; } + + /// <summary> + /// Allows to modify the absolute discount on a subscription if provided. + /// If not provided, the discount of the plan is used. + /// Note: If you want to set it on an existing subscription, you have to cancel the subscription first. + /// . + /// </summary> + public double? DiscountAbsolute { get; set; } + + /// <summary> + /// Allows to modify the percentage discount on a subscription if provided. + /// If not provided, the discount of the plan is used. + /// Note: If you want to set it on an existing subscription, you have to cancel the subscription first. + /// . + /// </summary> + public double? DiscountPercentage { get; set; } + + public SubscriptionServiceConfig? ServiceConfig { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PlanId)}: {PlanId}, {nameof(CustomerType)}: ({CustomerType}), {nameof(CustomerId)}: {CustomerId}, {nameof(DiscountAbsolute)}: {DiscountAbsolute}, {nameof(DiscountPercentage)}: {DiscountPercentage}, {nameof(ServiceConfig)}: ({ServiceConfig})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs new file mode 100644 index 00000000..9a9e6978 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// MontaPageSubscriptionDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageSubscriptionDto +{ + [Required] + public List<Subscription> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs new file mode 100644 index 00000000..01838717 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// Parameters for operation request. +/// Description: Approve subscription. +/// Operation: ApproveSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ApproveSubscriptionParameters +{ + [Required] + public long SubscriptionId { get; set; } + + [Required] + public ApproveSubscription Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SubscriptionId)}: {SubscriptionId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs new file mode 100644 index 00000000..49edb6d3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// Parameters for operation request. +/// Description: Create subscription. +/// Operation: CreateSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateSubscriptionParameters +{ + [Required] + public CreateSubscription Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs new file mode 100644 index 00000000..e3dcb6ea --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// Parameters for operation request. +/// Description: Cancel subscription. +/// Operation: DeleteSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSubscriptionParameters +{ + [Required] + public long SubscriptionId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SubscriptionId)}: {SubscriptionId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs new file mode 100644 index 00000000..23a36a5e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a subscription. +/// Operation: GetSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionParameters +{ + [Required] + public long SubscriptionId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SubscriptionId)}: {SubscriptionId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs new file mode 100644 index 00000000..428535e7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of subscriptions. +/// Operation: GetSubscriptions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public long? PlanId { get; set; } + + public long? ChargePointId { get; set; } + + public long? SubscriptionPurchaseId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(PlanId)}: {PlanId}, {nameof(ChargePointId)}: {ChargePointId}, {nameof(SubscriptionPurchaseId)}: {SubscriptionPurchaseId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs new file mode 100644 index 00000000..da347ffd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; + +/// <summary> +/// Unit. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Unit +{ + /// <summary> + /// A list of Unit. + /// </summary> + public List<Unit> UnitList { get; set; } = new List<Unit>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(UnitList)}.Count: {UnitList?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs new file mode 100644 index 00000000..d283d5e6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Create a new Tariff Period Group. +/// Operation: CreateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffPeriodGroupParameters +{ + [Required] + public TariffPeriodGroup Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs new file mode 100644 index 00000000..d46a4210 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing Tariff Period Group, and all contained recurring periods and prices. +/// Operation: DeleteTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTariffPeriodGroupParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs new file mode 100644 index 00000000..d7acb682 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve Tariff Period Groups by id. +/// Operation: GetPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPeriodGroupParameters +{ + /// <summary> + /// Filter to retrieve tariff period groups by id. + /// </summary> + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs new file mode 100644 index 00000000..00abbd2d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve Tariff Period Groups by tariff id. +/// Operation: GetPeriodGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPeriodGroupsParameters +{ + /// <summary> + /// Filter to retrieve tariff period groups by tariff id. + /// </summary> + public long TariffId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TariffId)}: {TariffId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs new file mode 100644 index 00000000..993a9e6b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; + +/// <summary> +/// Parameters for operation request. +/// Description: Update existing Tariff Period Group. +/// Operation: UpdateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffPeriodGroupParameters +{ + [Required] + public long Id { get; set; } + + [Required] + public TariffPeriodGroup Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs new file mode 100644 index 00000000..8c7bfbaa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; + +/// <summary> +/// TariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class TariffPeriodGroup +{ + /// <summary> + /// tariff period group id. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// tariff period group active from date. + /// </summary> + [Required] + public DateTimeOffset ActiveFrom { get; set; } + + /// <summary> + /// tariff period group active to date. + /// </summary> + [Required] + public DateTimeOffset ActiveTo { get; set; } + + /// <summary> + /// tariff period group description. + /// </summary> + [Required] + public string Description { get; set; } + + /// <summary> + /// tariff id. + /// </summary> + public long TariffId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(ActiveFrom)}: ({ActiveFrom}), {nameof(ActiveTo)}: ({ActiveTo}), {nameof(Description)}: {Description}, {nameof(TariffId)}: {TariffId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs new file mode 100644 index 00000000..c80122b0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// PageTariffRecurringPeriodDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PageTariffRecurringPeriodDto +{ + /// <summary> + /// A list of PageTariffRecurringPeriodDto. + /// </summary> + public List<PageTariffRecurringPeriodDto> PageTariffRecurringPeriodDtoList { get; set; } = new List<PageTariffRecurringPeriodDto>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PageTariffRecurringPeriodDtoList)}.Count: {PageTariffRecurringPeriodDtoList?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs new file mode 100644 index 00000000..7d0372fe --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// Parameters for operation request. +/// Description: Create new recurring period. +/// Operation: CreateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffRecurringPeriodsParameters +{ + [Required] + public TariffRecurringPeriodCreateRequestDto Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs new file mode 100644 index 00000000..bdb5b326 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing Tariff Recurring Period , and all contained prices. +/// Operation: DeleteTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTariffRecurringPeriodParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs new file mode 100644 index 00000000..c26244e1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a tariff recurring period. +/// Operation: GetTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffRecurringPeriodParameters +{ + [Required] + public long PeriodId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PeriodId)}: {PeriodId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs new file mode 100644 index 00000000..f0caf6fb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve recurring periods. +/// Operation: GetTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffRecurringPeriodsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + [Required] + public long TariffId { get; set; } + + [Required] + public long TariffPeriodGroupId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(TariffId)}: {TariffId}, {nameof(TariffPeriodGroupId)}: {TariffPeriodGroupId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs new file mode 100644 index 00000000..839a57d7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// Parameters for operation request. +/// Description: Update existing recurring period. +/// Operation: UpdateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffRecurringPeriodsParameters +{ + [Required] + public long PeriodId { get; set; } + + [Required] + public TariffRecurringPeriodUpdateRequestDto Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PeriodId)}: {PeriodId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs new file mode 100644 index 00000000..7e0f6188 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// TariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class TariffRecurringPeriod +{ + /// <summary> + /// id of the period. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// id of the tariff. + /// </summary> + public long TariffId { get; set; } + + [Required] + public DayOfWeek DayOfWeek { get; set; } + + public DayOfWeek? EndDayOfWeek { get; set; } + + /// <summary> + /// starting hour of the period. + /// </summary> + public int Start { get; set; } + + /// <summary> + /// ending hour of the period. + /// </summary> + public int End { get; set; } + + /// <summary> + /// price during the period. + /// </summary> + [Required] + public double Price { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(TariffId)}: {TariffId}, {nameof(DayOfWeek)}: ({DayOfWeek}), {nameof(EndDayOfWeek)}: ({EndDayOfWeek}), {nameof(Start)}: {Start}, {nameof(End)}: {End}, {nameof(Price)}: {Price}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs new file mode 100644 index 00000000..271fe919 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// TariffRecurringPeriodCreateRequestDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class TariffRecurringPeriodCreateRequestDto +{ + /// <summary> + /// Id of the tariff this period will belong to. + /// </summary> + [Required] + public long TariffId { get; set; } + + /// <summary> + /// Id of the tariff period group this period will belong to. + /// </summary> + [Required] + public long GroupId { get; set; } + + [Required] + public DayOfWeek DayOfWeek { get; set; } + + public DayOfWeek? EndDayOfWeek { get; set; } + + /// <summary> + /// hour that the period starts at. + /// </summary> + [Required] + public int StartHour { get; set; } + + /// <summary> + /// hour that the period ends at. + /// </summary> + [Required] + public int EndHour { get; set; } + + /// <summary> + /// price during the period. + /// </summary> + [Required] + public double Price { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TariffId)}: {TariffId}, {nameof(GroupId)}: {GroupId}, {nameof(DayOfWeek)}: ({DayOfWeek}), {nameof(EndDayOfWeek)}: ({EndDayOfWeek}), {nameof(StartHour)}: {StartHour}, {nameof(EndHour)}: {EndHour}, {nameof(Price)}: {Price}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs new file mode 100644 index 00000000..a964eca9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; + +/// <summary> +/// TariffRecurringPeriodUpdateRequestDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class TariffRecurringPeriodUpdateRequestDto +{ + public DayOfWeek? DayOfWeek { get; set; } + + public DayOfWeek? EndDayOfWeek { get; set; } + + /// <summary> + /// hour that the period starts at. + /// </summary> + public int? StartHour { get; set; } + + /// <summary> + /// hour that the period ends at. + /// </summary> + public int? EndHour { get; set; } + + /// <summary> + /// price during the period. + /// </summary> + public double? Price { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(DayOfWeek)}: ({DayOfWeek}), {nameof(EndDayOfWeek)}: ({EndDayOfWeek}), {nameof(StartHour)}: {StartHour}, {nameof(EndHour)}: {EndHour}, {nameof(Price)}: {Price}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs new file mode 100644 index 00000000..b2364ef0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// CreateTariffPricesRequest. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffPricesRequest +{ + /// <summary> + /// Start date that marks when prices should be created for a tariff (yyyy-MM-dd). + /// </summary> + [Required] + public DateTimeOffset Start { get; set; } + + /// <summary> + /// End date that marks when prices should be created for a tariff (yyyy-MM-dd). + /// </summary> + [Required] + public DateTimeOffset End { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Start)}: ({Start}), {nameof(End)}: ({End})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs new file mode 100644 index 00000000..5705884c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs @@ -0,0 +1,91 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// CreateTariffRequest. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffRequest +{ + /// <summary> + /// external id. + /// </summary> + [Required] + public string ExternalId { get; set; } + + /// <summary> + /// Radius Elnet A/S. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Short description of this tariff. + /// </summary> + [Required] + public string Description { get; set; } + + /// <summary> + /// Id of the country where the tariff is applicable. + /// </summary> + [Required] + public long CountryId { get; set; } + + /// <summary> + /// Id of the country area where the tariff is applicable. + /// </summary> + public long? CountryAreaId { get; set; } + + /// <summary> + /// Id of the currency in which the tariff is applicable. + /// </summary> + [Required] + public long CurrencyId { get; set; } + + /// <summary> + /// Team id. + /// </summary> + public long? TeamId { get; set; } + + /// <summary> + /// Indication if prices are with vat. + /// </summary> + [Required] + public bool PricesWithVat { get; set; } + + /// <summary> + /// Zip codes where this tariff is applicable. + /// </summary> + [Required] + public List<string> ZipCodes { get; set; } + + public TariffType TariffType { get; set; } + + /// <summary> + /// Indication if this tariff is active. + /// </summary> + public bool Active { get; set; } + + /// <summary> + /// What time zone is the tariff active in. + /// </summary> + [Required] + public string TimeZone { get; set; } + + /// <summary> + /// Human description of the area the tariff is active in. + /// </summary> + [Required] + public string Area { get; set; } + + public TariffCustomerType? CustomerType { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ExternalId)}: {ExternalId}, {nameof(Name)}: {Name}, {nameof(Description)}: {Description}, {nameof(CountryId)}: {CountryId}, {nameof(CountryAreaId)}: {CountryAreaId}, {nameof(CurrencyId)}: {CurrencyId}, {nameof(TeamId)}: {TeamId}, {nameof(PricesWithVat)}: {PricesWithVat}, {nameof(ZipCodes)}.Count: {ZipCodes?.Count ?? 0}, {nameof(TariffType)}: ({TariffType}), {nameof(Active)}: {Active}, {nameof(TimeZone)}: {TimeZone}, {nameof(Area)}: {Area}, {nameof(CustomerType)}: ({CustomerType})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs new file mode 100644 index 00000000..161b8bf6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// FullTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class FullTariff +{ + [Required] + public TariffDto Tariff { get; set; } + + /// <summary> + /// list of the tariff prices. + /// </summary> + [Required] + public List<Price> Prices { get; set; } + + public PriceSpecification? PriceSpecification { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Tariff)}: ({Tariff}), {nameof(Prices)}.Count: {Prices?.Count ?? 0}, {nameof(PriceSpecification)}: ({PriceSpecification})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs new file mode 100644 index 00000000..7f58c054 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// PairStringBigDecimal. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PairStringBigDecimal +{ + [Required] + public string First { get; set; } + + [Required] + public double Second { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(First)}: {First}, {nameof(Second)}: {Second}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs new file mode 100644 index 00000000..634694cd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// Price. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Price +{ + /// <summary> + /// start. + /// </summary> + [Required] + public DateTimeOffset Start { get; set; } + + /// <summary> + /// price. + /// </summary> + [JsonPropertyName("price")] + public double? PriceProperty { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Start)}: ({Start}), {nameof(PriceProperty)}: {PriceProperty}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs new file mode 100644 index 00000000..9b783aad --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// PriceSpecification. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PriceSpecification +{ + /// <summary> + /// price specifications. + /// </summary> + [Required] + public List<PairStringBigDecimal> Specifications { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Specifications)}.Count: {Specifications?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs new file mode 100644 index 00000000..9ab456de --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// Parameters for operation request. +/// Description: Create a new Tariff. +/// Operation: CreateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffParameters +{ + [Required] + public CreateTariffRequest Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs new file mode 100644 index 00000000..092f6ba0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// Parameters for operation request. +/// Description: Create the prices for a given tariff within a given period of time. +/// Operation: CreateTariffPrices. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffPricesParameters +{ + [Required] + public long TariffId { get; set; } + + [Required] + public CreateTariffPricesRequest Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TariffId)}: {TariffId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs new file mode 100644 index 00000000..9643d970 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve all tariffs. +/// Operation: GetAllTariffs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAllTariffsParameters +{ + /// <summary> + /// Country id of the tariff. + /// </summary> + public long CountryId { get; set; } + + /// <summary> + /// Country area id of the tariff. + /// </summary> + public long CountryAreaId { get; set; } + + /// <summary> + /// External id of the tariff. + /// </summary> + public string ExternalId { get; set; } + + /// <summary> + /// Operator id of the tariff (taken from the consumer). + /// </summary> + public long OperatorId { get; set; } + + /// <summary> + /// Team id of the tariff. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// Zip code of the tariff. + /// </summary> + public string Zip { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(CountryId)}: {CountryId}, {nameof(CountryAreaId)}: {CountryAreaId}, {nameof(ExternalId)}: {ExternalId}, {nameof(OperatorId)}: {OperatorId}, {nameof(TeamId)}: {TeamId}, {nameof(Zip)}: {Zip}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs new file mode 100644 index 00000000..fdf9bc80 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve your tariff and prices. +/// Operation: GetTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffParameters +{ + /// <summary> + /// Filter to retrieve tariffs where `createdAt` >= `start` (ISO8601: yyyy-MM-ddTHH:mm:ssZ). + /// </summary> + public DateTimeOffset Start { get; set; } + + /// <summary> + /// Filter to retrieve charges where `createdAt` <= `end` (ISO8601: yyyy-MM-ddTHH:mm:ssZ). + /// </summary> + public DateTimeOffset End { get; set; } + + [Required] + public long TariffId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Start)}: ({Start}), {nameof(End)}: ({End}), {nameof(TariffId)}: {TariffId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs new file mode 100644 index 00000000..58067b30 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// Parameters for operation request. +/// Description: Update an existing Tariff. +/// Operation: UpdateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffParameters +{ + [Required] + public long TariffId { get; set; } + + [Required] + public UpdateTariffRequest Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TariffId)}: {TariffId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs new file mode 100644 index 00000000..f3461aad --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs @@ -0,0 +1,110 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// TariffDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class TariffDto +{ + /// <summary> + /// Id of the tariff. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// External id of the tariff. + /// </summary> + [Required] + public string ExternalId { get; set; } + + /// <summary> + /// Name of the tariff. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Description of the tariff. + /// </summary> + [Required] + public string Description { get; set; } + + /// <summary> + /// Country Id of the tariff. + /// </summary> + public long CountryId { get; set; } + + /// <summary> + /// Country area Id of the tariff. + /// </summary> + public long? CountryAreaId { get; set; } + + /// <summary> + /// Currency Id of the tariff. + /// </summary> + public long CurrencyId { get; set; } + + /// <summary> + /// Team Id of the tariff. + /// </summary> + public long? TeamId { get; set; } + + /// <summary> + /// Operator Id of the tariff. + /// </summary> + public long? OperatorId { get; set; } + + /// <summary> + /// Indicates if VAT is already in the price of the tariff. + /// </summary> + public bool PricesWithVat { get; set; } + + /// <summary> + /// Zip codes of the tariff. + /// </summary> + [Required] + public List<string> ZipCodes { get; set; } + + [Required] + public TariffType TariffType { get; set; } + + /// <summary> + /// Indicates if the Tariff is active or not. + /// </summary> + public bool Active { get; set; } + + /// <summary> + /// Time zone of the tariff. + /// </summary> + [Required] + public string TimeZone { get; set; } + + /// <summary> + /// Area of the tariff. + /// </summary> + [Required] + public string Area { get; set; } + + public TariffCustomerType? CustomerType { get; set; } + + /// <summary> + /// Creation date of the tariff. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Last update date of the tariff. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(ExternalId)}: {ExternalId}, {nameof(Name)}: {Name}, {nameof(Description)}: {Description}, {nameof(CountryId)}: {CountryId}, {nameof(CountryAreaId)}: {CountryAreaId}, {nameof(CurrencyId)}: {CurrencyId}, {nameof(TeamId)}: {TeamId}, {nameof(OperatorId)}: {OperatorId}, {nameof(PricesWithVat)}: {PricesWithVat}, {nameof(ZipCodes)}.Count: {ZipCodes?.Count ?? 0}, {nameof(TariffType)}: ({TariffType}), {nameof(Active)}: {Active}, {nameof(TimeZone)}: {TimeZone}, {nameof(Area)}: {Area}, {nameof(CustomerType)}: ({CustomerType}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs new file mode 100644 index 00000000..bf414a4f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs @@ -0,0 +1,91 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; + +/// <summary> +/// UpdateTariffRequest. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffRequest +{ + /// <summary> + /// external id. + /// </summary> + [Required] + public string ExternalId { get; set; } + + /// <summary> + /// Radius Elnet A/S. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Short description of this tariff. + /// </summary> + [Required] + public string Description { get; set; } + + /// <summary> + /// Id of the country where the tariff is applicable. + /// </summary> + [Required] + public long CountryId { get; set; } + + /// <summary> + /// Id of the country area where the tariff is applicable. + /// </summary> + public long? CountryAreaId { get; set; } + + /// <summary> + /// Id of the currency in which the tariff is applicable. + /// </summary> + [Required] + public long CurrencyId { get; set; } + + /// <summary> + /// Team id. + /// </summary> + public long? TeamId { get; set; } + + /// <summary> + /// Indication if prices are with vat. + /// </summary> + [Required] + public bool PricesWithVat { get; set; } + + /// <summary> + /// Zip codes where this tariff is applicable. + /// </summary> + public List<string>? ZipCodes { get; set; } = new List<string>(); + + public TariffType? TariffType { get; set; } + + /// <summary> + /// Indication if this tariff is active. + /// </summary> + [Required] + public bool Active { get; set; } + + /// <summary> + /// What timezone is the tariff active in. + /// </summary> + [Required] + public string TimeZone { get; set; } + + /// <summary> + /// Human description of the area the tariff is active in. + /// </summary> + [Required] + public string Area { get; set; } + + public TariffCustomerType? CustomerType { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ExternalId)}: {ExternalId}, {nameof(Name)}: {Name}, {nameof(Description)}: {Description}, {nameof(CountryId)}: {CountryId}, {nameof(CountryAreaId)}: {CountryAreaId}, {nameof(CurrencyId)}: {CurrencyId}, {nameof(TeamId)}: {TeamId}, {nameof(PricesWithVat)}: {PricesWithVat}, {nameof(ZipCodes)}.Count: {ZipCodes?.Count ?? 0}, {nameof(TariffType)}: ({TariffType}), {nameof(Active)}: {Active}, {nameof(TimeZone)}: {TimeZone}, {nameof(Area)}: {Area}, {nameof(CustomerType)}: ({CustomerType})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs new file mode 100644 index 00000000..4ee637ab --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs @@ -0,0 +1,95 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// CreateTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTeamMember +{ + /// <summary> + /// Id of the team that the user will be invited. + /// </summary> + [Range(0, 2147483647)] + public long TeamId { get; set; } + + /// <summary> + /// Id of the user to be invited<br />*Note*: When inviting by `userId` the fields `email` or `phone` must not be provided. + /// </summary> + [Range(0, 2147483647)] + public long? UserId { get; set; } + + /// <summary> + /// Email of the user to be invited<br />*Note*: When inviting by `email` the fields `userId` or `phone` must not be provided. + /// </summary> + /// <remarks> + /// Email validation being enforced. + /// </remarks> + [EmailAddress] + public string? Email { get; set; } + + /// <summary> + /// Phone of the user to be invited<br />*Note*: When inviting by `phone` the fields `userId` or `email` must not be provided. + /// </summary> + [RegularExpression("^\\+[1-9]\\d{1,14}$")] + public string? Phone { get; set; } + + [Required] + public TeamMemberRole Role { get; set; } + + /// <summary> + /// The price group for this team member, when not provided the default team price group will be applied. + /// </summary> + public long? PriceGroupId { get; set; } + + /// <summary> + /// Gives the team member access to pay with team wallet when charging. + /// </summary> + public bool CanPayWithTeamWallet { get; set; } = false; + + /// <summary> + /// Allows the team member to request sponsoring from this team for their charge point. + /// </summary> + public bool CanRequestSponsoring { get; set; } = false; + + /// <summary> + /// Allows the team member to view and manage other members settings. + /// </summary> + public bool CanManageTeamMembers { get; set; } = false; + + public TeamWalletChargePaymentType? TeamWalletChargePaymentType { get; set; } + + /// <summary> + /// Gives the team member access to withdraw and deposit from your team wallet to your bank account. + /// </summary> + public bool CanManageTeamWallet { get; set; } = false; + + /// <summary> + /// A note for the team member. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// Ids of the charge point this team member with will have access. + /// </summary> + public List<long>? ChargePointIds { get; set; } = new List<long>(); + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(UserId)}: {UserId}, {nameof(Email)}: {Email}, {nameof(Phone)}: {Phone}, {nameof(Role)}: ({Role}), {nameof(PriceGroupId)}: {PriceGroupId}, {nameof(CanPayWithTeamWallet)}: {CanPayWithTeamWallet}, {nameof(CanRequestSponsoring)}: {CanRequestSponsoring}, {nameof(CanManageTeamMembers)}: {CanManageTeamMembers}, {nameof(TeamWalletChargePaymentType)}: ({TeamWalletChargePaymentType}), {nameof(CanManageTeamWallet)}: {CanManageTeamWallet}, {nameof(Note)}: {Note}, {nameof(ChargePointIds)}.Count: {ChargePointIds?.Count ?? 0}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs new file mode 100644 index 00000000..34a9d500 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// MontaPageTeamMemberDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageTeamMemberDto +{ + [Required] + public List<TeamMemberDto> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs new file mode 100644 index 00000000..41d11e41 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs @@ -0,0 +1,67 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// PatchTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTeamMember +{ + /// <summary> + /// Ids of the charge points to patch this team member with. + /// </summary> + public List<long>? ChargePointIds { get; set; } = new List<long>(); + + public TeamMemberRole? Role { get; set; } + + /// <summary> + /// The price group for this team member. + /// </summary> + public long? PriceGroupId { get; set; } + + /// <summary> + /// Gives the team member access to pay with team wallet when charging. + /// </summary> + public bool? CanPayWithTeamWallet { get; set; } = false; + + /// <summary> + /// Gives the team member access to withdraw and deposit from your team wallet to your bank account. + /// </summary> + public bool? CanManageTeamWallet { get; set; } = false; + + /// <summary> + /// Allows the team member to request sponsoring from this team for their charge point. + /// </summary> + public bool? CanRequestSponsoring { get; set; } = false; + + /// <summary> + /// Allows the team member to view and manage other members settings. + /// </summary> + public bool? CanManageTeamMembers { get; set; } = false; + + public TeamWalletChargePaymentType? TeamWalletChargePaymentType { get; set; } + + /// <summary> + /// A note for the team member. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePointIds)}.Count: {ChargePointIds?.Count ?? 0}, {nameof(Role)}: ({Role}), {nameof(PriceGroupId)}: {PriceGroupId}, {nameof(CanPayWithTeamWallet)}: {CanPayWithTeamWallet}, {nameof(CanManageTeamWallet)}: {CanManageTeamWallet}, {nameof(CanRequestSponsoring)}: {CanRequestSponsoring}, {nameof(CanManageTeamMembers)}: {CanManageTeamMembers}, {nameof(TeamWalletChargePaymentType)}: ({TeamWalletChargePaymentType}), {nameof(Note)}: {Note}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs new file mode 100644 index 00000000..78baecf8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing team member. +/// Operation: DeleteTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTeamMemberParameters +{ + [Required] + public long TeamMemberId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamMemberId)}: {TeamMemberId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs new file mode 100644 index 00000000..e72b558d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a team member. +/// Operation: GetTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamMemberParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs new file mode 100644 index 00000000..eae248dc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs @@ -0,0 +1,57 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of team members. +/// Operation: GetTeamMembers. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamMembersParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public long? TeamId { get; set; } + + public bool IncludeDeleted { get; set; } = false; + + public TeamMemberRole? Role { get; set; } + + public TeamMemberState? State { get; set; } + + [Range(0, 2147483647)] + public long? UserId { get; set; } + + /// <summary> + /// Undefined description. + /// </summary> + /// <remarks> + /// Email validation being enforced. + /// </remarks> + [EmailAddress] + public string? Email { get; set; } + + [RegularExpression("^\\+[1-9]\\d{1,14}$")] + public string? Phone { get; set; } + + public string? PartnerExternalTeamId { get; set; } + + public string? PartnerExternalId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(TeamId)}: {TeamId}, {nameof(IncludeDeleted)}: {IncludeDeleted}, {nameof(Role)}: ({Role}), {nameof(State)}: ({State}), {nameof(UserId)}: {UserId}, {nameof(Email)}: {Email}, {nameof(Phone)}: {Phone}, {nameof(PartnerExternalTeamId)}: {PartnerExternalTeamId}, {nameof(PartnerExternalId)}: {PartnerExternalId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs new file mode 100644 index 00000000..c15a5507 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// Parameters for operation request. +/// Description: Patch a team member. +/// Operation: PatchTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTeamMemberParameters +{ + [Required] + public long Id { get; set; } + + [Required] + public PatchTeamMember Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs new file mode 100644 index 00000000..be92a9f2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// Parameters for operation request. +/// Description: Create (invite) a team member. +/// Operation: PostTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostTeamMemberParameters +{ + [Required] + public CreateTeamMember Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs new file mode 100644 index 00000000..33f5fc39 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// Parameters for operation request. +/// Description: Resend an invite to a team member and reset expiry date. +/// Operation: ResendTeamMemberInvite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ResendTeamMemberInviteParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs new file mode 100644 index 00000000..c3ee871e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs @@ -0,0 +1,137 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; + +/// <summary> +/// TeamMemberDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class TeamMemberDto +{ + /// <summary> + /// Id of the team member. + /// </summary> + [Required] + public string Id { get; set; } + + /// <summary> + /// Team id of team member. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// The team member display name, formats can be: `First and Last Name`, `User: #id`, `email`, or `phone`. + /// </summary> + public string? DisplayName { get; set; } + + public Operator? Operator { get; set; } + + /// <summary> + /// The partner external id for the team. + /// </summary> + public string? PartnerExternalTeamId { get; set; } + + /// <summary> + /// User id of team member. If the user does not exist yet, it will be null. + /// </summary> + public long? UserId { get; set; } + + [Required] + public TeamMemberRole Role { get; set; } + + [Required] + public TeamMemberAccess Access { get; set; } + + [Required] + public TeamMemberState State { get; set; } + + /// <summary> + /// Note for team member. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// Date of team member was invited to join the team. + /// </summary> + public DateTimeOffset? InvitedAt { get; set; } + + /// <summary> + /// Date of team member accepted the invitation. + /// </summary> + public DateTimeOffset? AcceptedAt { get; set; } + + /// <summary> + /// Date of team member rejected the invitation. + /// </summary> + public DateTimeOffset? RejectedAt { get; set; } + + /// <summary> + /// Date the team member was created. + /// </summary> + public DateTimeOffset? CreatedAt { get; set; } + + /// <summary> + /// Date the team member was updated. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <summary> + /// Date the team member was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <summary> + /// The charge points ids this team member has access. + /// </summary> + [Required] + public List<long> ChargePointIds { get; set; } + + /// <summary> + /// The price group for this team member. + /// </summary> + public long? PriceGroupId { get; set; } + + /// <summary> + /// Indicates if the team member access to pay with team wallet when charging. + /// </summary> + public bool CanPayWithTeamWallet { get; set; } = false; + + /// <summary> + /// Indicates if team member has access to withdraw and deposit from your team wallet to your bank account. + /// </summary> + public bool CanManageTeamWallet { get; set; } = false; + + /// <summary> + /// Indicates if the team member is allowed to request sponsoring from this team for their charge point. + /// </summary> + public bool CanRequestSponsoring { get; set; } = false; + + /// <summary> + /// Indicates that the team member can view and manage other members settings. + /// </summary> + public bool CanManageTeamMembers { get; set; } = false; + + /// <summary> + /// Who can pay the charging with Wallet?. + /// </summary> + [Required] + public TeamWalletChargePaymentType TeamWalletChargePaymentType { get; set; } = TeamWalletChargePaymentType.None; + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(TeamId)}: {TeamId}, {nameof(DisplayName)}: {DisplayName}, {nameof(Operator)}: ({Operator}), {nameof(PartnerExternalTeamId)}: {PartnerExternalTeamId}, {nameof(UserId)}: {UserId}, {nameof(Role)}: ({Role}), {nameof(Access)}: ({Access}), {nameof(State)}: ({State}), {nameof(Note)}: {Note}, {nameof(InvitedAt)}: ({InvitedAt}), {nameof(AcceptedAt)}: ({AcceptedAt}), {nameof(RejectedAt)}: ({RejectedAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt}), {nameof(ChargePointIds)}.Count: {ChargePointIds?.Count ?? 0}, {nameof(PriceGroupId)}: {PriceGroupId}, {nameof(CanPayWithTeamWallet)}: {CanPayWithTeamWallet}, {nameof(CanManageTeamWallet)}: {CanManageTeamWallet}, {nameof(CanRequestSponsoring)}: {CanRequestSponsoring}, {nameof(CanManageTeamMembers)}: {CanManageTeamMembers}, {nameof(TeamWalletChargePaymentType)}: {TeamWalletChargePaymentType}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs new file mode 100644 index 00000000..54adbc0b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs @@ -0,0 +1,84 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// CreateTeamDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTeamDto +{ + /// <summary> + /// Id of the user that owns the team. + /// </summary> + public long? UserId { get; set; } + + /// <summary> + /// email of the user that owns the team, useful when the userId is not known. + /// </summary> + /// <remarks> + /// Email validation being enforced. + /// </remarks> + [EmailAddress] + public string? UserEmail { get; set; } + + /// <summary> + /// Name of the team. + /// </summary> + [Required] + [MinLength(1)] + public string Name { get; set; } + + /// <summary> + /// Contact email of the team. + /// </summary> + /// <remarks> + /// Email validation being enforced. + /// </remarks> + [Required] + [EmailAddress] + public string ContactEmail { get; set; } + + [Required] + public TeamTypeCreatable Type { get; set; } + + [Required] + public CreatedOrUpdateAddress Address { get; set; } + + /// <summary> + /// The company name for the team. + /// </summary> + public string? CompanyName { get; set; } + + /// <summary> + /// The vat number for the team. + /// </summary> + public string? VatNumber { get; set; } + + /// <summary> + /// finance contact email of the team. + /// </summary> + /// <remarks> + /// Email validation being enforced. + /// </remarks> + [EmailAddress] + public string? FinanceEmail { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(UserId)}: {UserId}, {nameof(UserEmail)}: {UserEmail}, {nameof(Name)}: {Name}, {nameof(ContactEmail)}: {ContactEmail}, {nameof(Type)}: ({Type}), {nameof(Address)}: ({Address}), {nameof(CompanyName)}: {CompanyName}, {nameof(VatNumber)}: {VatNumber}, {nameof(FinanceEmail)}: {FinanceEmail}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs new file mode 100644 index 00000000..9d6d44ab --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// MontaPageTeamDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageTeamDto +{ + [Required] + public List<Team> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs new file mode 100644 index 00000000..aaa2497a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// PatchTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTeam +{ + /// <summary> + /// Id of the user that owns the team. + /// </summary> + public long? UserId { get; set; } + + /// <summary> + /// email of the user that owns the team, useful when the userId is not known. + /// </summary> + /// <remarks> + /// Email validation being enforced. + /// </remarks> + [EmailAddress] + public string? UserEmail { get; set; } + + /// <summary> + /// Name of the team. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// Contact email of the team. + /// </summary> + /// <remarks> + /// Email validation being enforced. + /// </remarks> + [EmailAddress] + public string? ContactEmail { get; set; } + + public CreatedOrUpdateAddress? Address { get; set; } + + /// <summary> + /// The company name for the team. + /// </summary> + public string? CompanyName { get; set; } + + /// <summary> + /// The vat number for the team. + /// </summary> + public string? VatNumber { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(UserId)}: {UserId}, {nameof(UserEmail)}: {UserEmail}, {nameof(Name)}: {Name}, {nameof(ContactEmail)}: {ContactEmail}, {nameof(Address)}: ({Address}), {nameof(CompanyName)}: {CompanyName}, {nameof(VatNumber)}: {VatNumber}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs new file mode 100644 index 00000000..7b4f2727 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// Parameters for operation request. +/// Description: Delete an existing team. +/// Operation: DeleteTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTeamParameters +{ + [Required] + public long TeamId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs new file mode 100644 index 00000000..5c7af45c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a team. +/// Operation: GetTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamParameters +{ + [Required] + public long Id { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs new file mode 100644 index 00000000..1ae004f6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a list of teams. +/// Operation: GetTeams. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamsParameters +{ + /// <summary> + /// Filter teams by partnerExternalId, to filter only resources without `partnerExternalId` *use* `partnerExternalId=""`. + /// </summary> + public string PartnerExternalId { get; set; } + + /// <summary> + /// Filter to include delete teams in the response. + /// </summary> + public bool IncludeDeleted { get; set; } = false; + + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(IncludeDeleted)}: {IncludeDeleted}, {nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs new file mode 100644 index 00000000..2c70c438 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// Parameters for operation request. +/// Description: Patch an existing team. +/// Operation: PatchTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTeamParameters +{ + [Required] + public long TeamId { get; set; } + + [Required] + public PatchTeam Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamId)}: {TeamId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs new file mode 100644 index 00000000..b16959df --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// Parameters for operation request. +/// Description: Create a team. +/// Operation: PostTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostTeamParameters +{ + [Required] + public CreateTeamDto Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/Team.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/Team.verified.cs new file mode 100644 index 00000000..5925f4ea --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/Team.verified.cs @@ -0,0 +1,101 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// Team. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Team +{ + /// <summary> + /// Id of the team. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Name of the team. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// External id of the team. + /// </summary> + public string? ExternalId { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <summary> + /// Code to share with a user to join the team. + /// </summary> + [Required] + public string JoinCode { get; set; } + + /// <summary> + /// The company name for the given team. + /// </summary> + public string? CompanyName { get; set; } + + /// <summary> + /// The VAT number for the given team. + /// </summary> + public string? VatNumber { get; set; } + + public Operator? Operator { get; set; } + + [Required] + public TeamDtoTeamAddressDto Address { get; set; } + + [Required] + public Currency Currency { get; set; } + + /// <summary> + /// Type of the team. + /// </summary> + [Required] + public string Type { get; set; } + + /// <summary> + /// Id of the user that owns this team. + /// </summary> + public long UserId { get; set; } + + /// <summary> + /// Blocked date of this team. + /// </summary> + public DateTimeOffset? BlockedAt { get; set; } + + /// <summary> + /// Creation date of this team. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Update date of this team. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <summary> + /// The deleted date of this team. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Name)}: {Name}, {nameof(ExternalId)}: {ExternalId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}, {nameof(JoinCode)}: {JoinCode}, {nameof(CompanyName)}: {CompanyName}, {nameof(VatNumber)}: {VatNumber}, {nameof(Operator)}: ({Operator}), {nameof(Address)}: ({Address}), {nameof(Currency)}: ({Currency}), {nameof(Type)}: {Type}, {nameof(UserId)}: {UserId}, {nameof(BlockedAt)}: ({BlockedAt}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs new file mode 100644 index 00000000..c25aa04b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Teams; + +/// <summary> +/// TeamDtoTeamAddressDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class TeamDtoTeamAddressDto +{ + /// <summary> + /// First line of address. + /// </summary> + public string? Address1 { get; set; } + + /// <summary> + /// Second line of address. + /// </summary> + public string? Address2 { get; set; } + + /// <summary> + /// Third line of address. + /// </summary> + public string? Address3 { get; set; } + + /// <summary> + /// The address city. + /// </summary> + public string? City { get; set; } + + /// <summary> + /// The address zip code. + /// </summary> + public string? ZipCode { get; set; } + + /// <summary> + /// The address country. + /// </summary> + public long CountryId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Address1)}: {Address1}, {nameof(Address2)}: {Address2}, {nameof(Address3)}: {Address3}, {nameof(City)}: {City}, {nameof(ZipCode)}: {ZipCode}, {nameof(CountryId)}: {CountryId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs new file mode 100644 index 00000000..3b4a0b9c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// MetadataDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MetadataDto +{ + /// <summary> + /// A list of MetadataDto. + /// </summary> + public List<MetadataDto> MetadataDtoList { get; set; } = new List<MetadataDto>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(MetadataDtoList)}.Count: {MetadataDtoList?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs new file mode 100644 index 00000000..2d4bd4d2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// MontaPageWalletTransactionDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageWalletTransactionDto +{ + [Required] + public List<WalletTransaction> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs new file mode 100644 index 00000000..8beeec02 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs @@ -0,0 +1,55 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// OperatorAdjustmentTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class OperatorAdjustmentTransaction +{ + /// <summary> + /// Id of the wallet to transfer from. + /// </summary> + [Required] + public long FromWalletId { get; set; } + + /// <summary> + /// Id of the wallet to transfer to. + /// </summary> + [Required] + public long ToWalletId { get; set; } + + /// <summary> + /// Note for the transaction. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// Currency identifier. + /// </summary> + public long CurrencyId { get; set; } + + /// <summary> + /// Amount to transfer. + /// </summary> + public double Amount { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(FromWalletId)}: {FromWalletId}, {nameof(ToWalletId)}: {ToWalletId}, {nameof(Note)}: {Note}, {nameof(CurrencyId)}: {CurrencyId}, {nameof(Amount)}: {Amount}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs new file mode 100644 index 00000000..8c8a773a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// PatchWalletTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchWalletTransaction +{ + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs new file mode 100644 index 00000000..4776b8ea --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single wallet transaction. +/// Operation: GetWalletTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletTransactionParameters +{ + [Required] + public long TransactionId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TransactionId)}: {TransactionId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs new file mode 100644 index 00000000..bc060ad2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve your wallet transactions. +/// Operation: GetWalletTransactions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletTransactionsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public int? TeamId { get; set; } + + [RegularExpression("^(\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2})Z$")] + public DateTimeOffset? FromDate { get; set; } + + [RegularExpression("^(\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2})Z$")] + public DateTimeOffset? ToDate { get; set; } + + public string? ReferenceId { get; set; } + + public WalletTransactionReferenceType? ReferenceType { get; set; } + + public WalletTransactionState? State { get; set; } + + public WalletTransactionGroup? Group { get; set; } + + public string? PartnerExternalId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(TeamId)}: {TeamId}, {nameof(FromDate)}: ({FromDate}), {nameof(ToDate)}: ({ToDate}), {nameof(ReferenceId)}: {ReferenceId}, {nameof(ReferenceType)}: ({ReferenceType}), {nameof(State)}: ({State}), {nameof(Group)}: ({Group}), {nameof(PartnerExternalId)}: {PartnerExternalId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs new file mode 100644 index 00000000..2e67b01a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// Parameters for operation request. +/// Description: Patch an existing transaction. +/// Operation: PatchTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTransactionParameters +{ + [Required] + public long TransactionId { get; set; } + + [Required] + public PatchWalletTransaction Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TransactionId)}: {TransactionId}, {nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs new file mode 100644 index 00000000..93a938b7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// Parameters for operation request. +/// Description: Post an operator adjustment transaction. +/// Operation: PostOperatorAdjustmentTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostOperatorAdjustmentTransactionParameters +{ + [Required] + public OperatorAdjustmentTransaction Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs new file mode 100644 index 00000000..ca140770 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// TeamOrOperator. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class TeamOrOperator +{ + /// <summary> + /// A list of TeamOrOperator. + /// </summary> + public List<TeamOrOperator> TeamOrOperatorList { get; set; } = new List<TeamOrOperator>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(TeamOrOperatorList)}.Count: {TeamOrOperatorList?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs new file mode 100644 index 00000000..ad8b7340 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs @@ -0,0 +1,143 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; + +/// <summary> +/// WalletTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class WalletTransaction +{ + /// <summary> + /// Id of the transaction. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Amount sent, incl. VAT. + /// </summary> + public double FromAmount { get; set; } + + /// <summary> + /// Amount sent, excl. VAT. + /// </summary> + public double FromSubAmount { get; set; } + + /// <summary> + /// VAT amount sent. + /// </summary> + public double FromVatAmount { get; set; } + + [Required] + public Currency FromCurrency { get; set; } + + /// <summary> + /// Type of sender: operator, team. + /// </summary> + public string? FromType { get; set; } + + public TeamOrOperator? From { get; set; } + + /// <summary> + /// Id of the wallet where the amount was sent from. Can be `null` if the transaction did not originate from a wallet. + /// </summary> + public long? FromWalletId { get; set; } + + /// <summary> + /// Amount received, incl. VAT. + /// </summary> + public double ToAmount { get; set; } + + /// <summary> + /// Amount received, excl. VAT. + /// </summary> + public double ToSubAmount { get; set; } + + /// <summary> + /// VAT amount received. + /// </summary> + public double ToVatAmount { get; set; } + + [Required] + public Currency ToCurrency { get; set; } + + /// <summary> + /// Type of receiver: operator, team. + /// </summary> + public string? ToType { get; set; } + + public TeamOrOperator? To { get; set; } + + /// <summary> + /// Id of the wallet where the amount was sent to. Can be `null` if the transaction did not target a wallet. + /// </summary> + public long? ToWalletId { get; set; } + + /// <summary> + /// Exchange rate used for currency conversion. + /// </summary> + public double ExchangeRate { get; set; } + + /// <summary> + /// Creation date of transaction. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Update date of transaction. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <summary> + /// Reference id of this transaction. e.g the charge id. + /// </summary> + public string? ReferenceId { get; set; } + + public WalletTransactionReferenceType? ReferenceType { get; set; } + + [Required] + public WalletTransactionGroup Group { get; set; } + + /// <summary> + /// Kind of this transaction, ie 'charge-sponsored'. + /// <br/> + /// **Note:** This is an open field and therefore more kinds will be added moving forward. + /// . + /// </summary> + [Required] + public string Kind { get; set; } + + /// <summary> + /// VAT percentage included in this transaction. + /// </summary> + public double VatPercentage { get; set; } + + [Required] + public WalletTransactionState State { get; set; } + + /// <summary> + /// A note that has been entered for this transaction. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + public MetadataDto? Metadata { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(FromAmount)}: {FromAmount}, {nameof(FromSubAmount)}: {FromSubAmount}, {nameof(FromVatAmount)}: {FromVatAmount}, {nameof(FromCurrency)}: ({FromCurrency}), {nameof(FromType)}: {FromType}, {nameof(From)}: ({From}), {nameof(FromWalletId)}: {FromWalletId}, {nameof(ToAmount)}: {ToAmount}, {nameof(ToSubAmount)}: {ToSubAmount}, {nameof(ToVatAmount)}: {ToVatAmount}, {nameof(ToCurrency)}: ({ToCurrency}), {nameof(ToType)}: {ToType}, {nameof(To)}: ({To}), {nameof(ToWalletId)}: {ToWalletId}, {nameof(ExchangeRate)}: {ExchangeRate}, {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(ReferenceId)}: {ReferenceId}, {nameof(ReferenceType)}: ({ReferenceType}), {nameof(Group)}: ({Group}), {nameof(Kind)}: {Kind}, {nameof(VatPercentage)}: {VatPercentage}, {nameof(State)}: ({State}), {nameof(Note)}: {Note}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}, {nameof(Metadata)}: ({Metadata})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs new file mode 100644 index 00000000..bb4f28c5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; + +/// <summary> +/// MontaPageWalletDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageWalletDto +{ + [Required] + public List<Wallet> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs new file mode 100644 index 00000000..9b86c720 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single wallet. +/// Operation: GetWallet. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletParameters +{ + [Required] + public long WalletId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(WalletId)}: {WalletId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs new file mode 100644 index 00000000..1eac59aa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve your wallets. +/// Operation: GetWallets. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletsParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + public int? TeamId { get; set; } + + public int? OperatorId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(TeamId)}: {TeamId}, {nameof(OperatorId)}: {OperatorId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs new file mode 100644 index 00000000..4395b7cd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; + +/// <summary> +/// Wallet. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Wallet +{ + /// <summary> + /// Id of the wallet. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Type of owner: operator, team. + /// </summary> + [Required] + public string OwnerType { get; set; } + + /// <summary> + /// Id of the owner of this wallet, either a teamId or operatorId (depending on ownerType). + /// </summary> + public long OwnerId { get; set; } + + /// <summary> + /// Currency of this wallet. + /// </summary> + public long CurrencyId { get; set; } + + /// <summary> + /// CountryId of this wallet. + /// </summary> + public long CountryId { get; set; } + + public WalletDtoBalanceDto? Balance { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(OwnerType)}: {OwnerType}, {nameof(OwnerId)}: {OwnerId}, {nameof(CurrencyId)}: {CurrencyId}, {nameof(CountryId)}: {CountryId}, {nameof(Balance)}: ({Balance})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs new file mode 100644 index 00000000..faf33c97 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; + +/// <summary> +/// WalletDtoBalanceDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class WalletDtoBalanceDto +{ + /// <summary> + /// Amount of the balance. + /// </summary> + public double Amount { get; set; } + + /// <summary> + /// Amount of the credit. + /// </summary> + public double Credit { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Amount)}: {Amount}, {nameof(Credit)}: {Credit}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs new file mode 100644 index 00000000..4a5d558f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; + +/// <summary> +/// MontaPageWebhookEntryDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageWebhookEntryDto +{ + [Required] + public List<WebhookEntry> Data { get; set; } + + [Required] + public MontaPageMeta Meta { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Data)}.Count: {Data?.Count ?? 0}, {nameof(Meta)}: ({Meta})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs new file mode 100644 index 00000000..0db2814c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve a single webhook entry by id. +/// Operation: GetWebhookEntries1. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWebhookEntries1Parameters +{ + [Required] + public long EntryId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(EntryId)}: {EntryId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs new file mode 100644 index 00000000..c28c4fd2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; + +/// <summary> +/// Parameters for operation request. +/// Description: Retrieve webhook entries. +/// Operation: GetWebhookEntries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWebhookEntriesParameters +{ + /// <summary> + /// page number to retrieve (starts with 0). + /// </summary> + public int Page { get; set; } = 0; + + /// <summary> + /// number of items per page (between 1 and 100, default 10). + /// </summary> + public int PerPage { get; set; } = 10; + + /// <summary> + /// The status from which webhook entries will be filtered by. + /// </summary> + public long Status { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Page)}: {Page}, {nameof(PerPage)}: {PerPage}, {nameof(Status)}: {Status}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs new file mode 100644 index 00000000..08dac550 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; + +/// <summary> +/// Parameters for operation request. +/// Description: Update your webhook config. +/// Operation: UpdateWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateWebhookConfigParameters +{ + [Required] + public WebhookConfig Request { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Request)}: ({Request})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs new file mode 100644 index 00000000..73c2641d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; + +/// <summary> +/// WebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class WebhookConfig +{ + /// <summary> + /// A HTTPS URL to send the webhook payload to when an event occurs. + /// </summary> + [Required] + [StringLength(191)] + [RegularExpression("https://.*")] + public string WebhookUrl { get; set; } + + /// <summary> + /// A cryptoghrapic secret used to sign the webhook payload. + /// </summary> + [Required] + [MinLength(16)] + [MaxLength(191)] + public string WebhookSecret { get; set; } + + /// <summary> + /// A list of event type to subscribe to. Use ["*"] to subscribe to all. + /// </summary> + public List<WebhookEntryEventType> EventTypes { get; set; } = new List<WebhookEntryEventType>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(WebhookUrl)}: {WebhookUrl}, {nameof(WebhookSecret)}: {WebhookSecret}, {nameof(EventTypes)}.Count: {EventTypes?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs new file mode 100644 index 00000000..9e288b88 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs @@ -0,0 +1,55 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; + +/// <summary> +/// WebhookEntry. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class WebhookEntry +{ + /// <summary> + /// Id of the entry. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Id of the consumer this entry belongs to. + /// </summary> + public long ConsumerId { get; set; } + + /// <summary> + /// Id of the operator this entry belongs to. + /// </summary> + public long OperatorId { get; set; } + + [Required] + public WebhookEntryEventType EventType { get; set; } + + [Required] + public WebhookEntryPayload Payload { get; set; } + + [Required] + public WebhookEntryStatus Status { get; set; } + + public WebhookEntryErrorPayload? Error { get; set; } + + /// <summary> + /// Creation date of this entry. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Update date of this entry. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(ConsumerId)}: {ConsumerId}, {nameof(OperatorId)}: {OperatorId}, {nameof(EventType)}: ({EventType}), {nameof(Payload)}: ({Payload}), {nameof(Status)}: ({Status}), {nameof(Error)}: ({Error}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs new file mode 100644 index 00000000..001d10f4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; + +/// <summary> +/// WebhookEntryErrorPayload. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class WebhookEntryErrorPayload +{ + /// <summary> + /// error code for the entry. + /// </summary> + public string? ErrorCode { get; set; } + + /// <summary> + /// error message for the entry. + /// </summary> + public string? ErrorMessage { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ErrorCode)}: {ErrorCode}, {nameof(ErrorMessage)}: {ErrorMessage}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs new file mode 100644 index 00000000..115c5f29 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; + +/// <summary> +/// WebhookEntryPayload. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class WebhookEntryPayload +{ + [Required] + public WebhookEntryPayloadEntityType EntityType { get; set; } + + /// <summary> + /// Id of the entity. + /// </summary> + [Required] + public string EntityId { get; set; } + + [Required] + public KafkaEventType EventType { get; set; } + + /// <summary> + /// payload of this entity, e.g. a full Charge object. + /// </summary> + public List<Object>? Payload { get; set; } = new List<Object>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(EntityType)}: ({EntityType}), {nameof(EntityId)}: {EntityId}, {nameof(EventType)}: ({EventType}), {nameof(Payload)}.Count: {Payload?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs new file mode 100644 index 00000000..510b6c34 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: AdditionalPricingType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum AdditionalPricingType +{ + [EnumMember(Value = "absolute")] + Absolute, + + [EnumMember(Value = "percentage")] + Percentage, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs new file mode 100644 index 00000000..61d60a99 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ChargeAuthenticationType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ChargeAuthenticationType +{ + [EnumMember(Value = "rfid")] + Rfid, + + [EnumMember(Value = "vehicleId")] + VehicleId, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs new file mode 100644 index 00000000..7acba600 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ChargePointIntegrationStateDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ChargePointIntegrationStateDto +{ + [EnumMember(Value = "pending")] + Pending, + + [EnumMember(Value = "connected")] + Connected, + + [EnumMember(Value = "disconnected")] + Disconnected, + + [EnumMember(Value = "error")] + Error, + + [EnumMember(Value = "unknown")] + Unknown, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs new file mode 100644 index 00000000..6763816e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ChargePointIntegrationType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ChargePointIntegrationType +{ + [EnumMember(Value = "oicp")] + Oicp, + + [EnumMember(Value = "ocpi")] + Ocpi, + + [EnumMember(Value = "ocpp")] + Ocpp, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs new file mode 100644 index 00000000..9e4e5298 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs @@ -0,0 +1,54 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ChargePointState. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ChargePointState +{ + [EnumMember(Value = "available")] + Available, + + [EnumMember(Value = "busy")] + Busy, + + [EnumMember(Value = "busy-blocked")] + BusyBlocked, + + [EnumMember(Value = "busy-charging")] + BusyCharging, + + [EnumMember(Value = "busy-non-charging")] + BusyNonCharging, + + [EnumMember(Value = "busy-non-released")] + BusyNonReleased, + + [EnumMember(Value = "busy-reserved")] + BusyReserved, + + [EnumMember(Value = "busy-scheduled")] + BusyScheduled, + + [EnumMember(Value = "error")] + Error, + + [EnumMember(Value = "disconnected")] + Disconnected, + + [EnumMember(Value = "passive")] + Passive, + + [EnumMember(Value = "maintenance")] + Maintenance, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs new file mode 100644 index 00000000..5b17e8bd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ChargeStateDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ChargeStateDto +{ + [EnumMember(Value = "paying")] + Paying, + + [EnumMember(Value = "reserved")] + Reserved, + + [EnumMember(Value = "starting")] + Starting, + + [EnumMember(Value = "charging")] + Charging, + + [EnumMember(Value = "stopping")] + Stopping, + + [EnumMember(Value = "paused")] + Paused, + + [EnumMember(Value = "scheduled")] + Scheduled, + + [EnumMember(Value = "stopped")] + Stopped, + + [EnumMember(Value = "releasing")] + Releasing, + + [EnumMember(Value = "released")] + Released, + + [EnumMember(Value = "completed")] + Completed, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs new file mode 100644 index 00000000..c834b8dc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ChargeType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ChargeType +{ + [EnumMember(Value = "external")] + External, + + [EnumMember(Value = "operator")] + Operator, + + [EnumMember(Value = "sponsored")] + Sponsored, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs new file mode 100644 index 00000000..54b01251 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ChargesInsightEntryTypeDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ChargesInsightEntryTypeDto +{ + [EnumMember(Value = "total-completed-sponsored-charges")] + TotalCompletedSponsoredCharges, + + [EnumMember(Value = "total-completed-operator-charges")] + TotalCompletedOperatorCharges, + + [EnumMember(Value = "total-completed-external-charges")] + TotalCompletedExternalCharges, + + [EnumMember(Value = "total-completed-charges")] + TotalCompletedCharges, + + [EnumMember(Value = "unknown")] + Unknown, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs new file mode 100644 index 00000000..cf3cbd33 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ChargesInsightTypeDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ChargesInsightTypeDto +{ + [EnumMember(Value = "completed-charges-insights")] + CompletedChargesInsights, + + [EnumMember(Value = "unknown")] + Unknown, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs new file mode 100644 index 00000000..b8931398 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ComponentMetadataDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ComponentMetadataDto +{ + [EnumMember(Value = "tariff-metadata")] + TariffMetadata, + + [EnumMember(Value = "spot-price-metadata")] + SpotPriceMetadata, + + [EnumMember(Value = "spot-price-additions-metadata")] + SpotPriceAdditionsMetadata, + + [EnumMember(Value = "idle-fee-metadata")] + IdleFeeMetadata, + + [EnumMember(Value = "duration-fee-metadata")] + DurationFeeMetadata, + + [EnumMember(Value = "default-metadata")] + DefaultMetadata, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs new file mode 100644 index 00000000..afb8bd22 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ComponentMetadataTypeDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ComponentMetadataTypeDto +{ + [EnumMember(Value = "tariff-metadata")] + TariffMetadata, + + [EnumMember(Value = "spot-price-metadata")] + SpotPriceMetadata, + + [EnumMember(Value = "spot-price-additions-metadata")] + SpotPriceAdditionsMetadata, + + [EnumMember(Value = "idle-fee-metadata")] + IdleFeeMetadata, + + [EnumMember(Value = "duration-fee-metadata")] + DurationFeeMetadata, + + [EnumMember(Value = "default-metadata")] + DefaultMetadata, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs new file mode 100644 index 00000000..1d125804 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs @@ -0,0 +1,54 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ComponentTypeDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ComponentTypeDto +{ + [EnumMember(Value = "tariff")] + Tariff, + + [EnumMember(Value = "spot-price")] + SpotPrice, + + [EnumMember(Value = "spot-price-additions-absolute")] + SpotPriceAdditionsAbsolute, + + [EnumMember(Value = "spot-price-additions-percent")] + SpotPriceAdditionsPercent, + + [EnumMember(Value = "time-based-tariff")] + TimeBasedTariff, + + [EnumMember(Value = "fixed-kwh")] + FixedKwh, + + [EnumMember(Value = "fee")] + Fee, + + [EnumMember(Value = "starting-fee")] + StartingFee, + + [EnumMember(Value = "duration-fee")] + DurationFee, + + [EnumMember(Value = "fixed-charging-fee")] + FixedChargingFee, + + [EnumMember(Value = "idle-fee")] + IdleFee, + + [EnumMember(Value = "adjustment")] + Adjustment, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs new file mode 100644 index 00000000..8b0adcdb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: CountryAreaLevel. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum CountryAreaLevel +{ + [EnumMember(Value = "bidding-area")] + BiddingArea, + + [EnumMember(Value = "dso")] + Dso, + + [EnumMember(Value = "tso")] + Tso, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs new file mode 100644 index 00000000..1a6eae79 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: DayOfWeek. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public enum DayOfWeek +{ + MONDAY, + TUESDAY, + WEDNESDAY, + THURSDAY, + FRIDAY, + SATURDAY, + SUNDAY, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs new file mode 100644 index 00000000..98252954 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: DriverReportDatesFilteredBy. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum DriverReportDatesFilteredBy +{ + [EnumMember(Value = "charge-transaction")] + ChargeTransaction, + + [EnumMember(Value = "wallet-transaction")] + WalletTransaction, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs new file mode 100644 index 00000000..e1a31e69 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: ElectricCurrentType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum ElectricCurrentType +{ + [EnumMember(Value = "ac")] + Ac, + + [EnumMember(Value = "dc")] + Dc, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs new file mode 100644 index 00000000..eb56717f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: KafkaEventType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum KafkaEventType +{ + [EnumMember(Value = "created")] + Created, + + [EnumMember(Value = "updated")] + Updated, + + [EnumMember(Value = "deleted")] + Deleted, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs new file mode 100644 index 00000000..e1fd0416 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs @@ -0,0 +1,83 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: MontaHttpStatus. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public enum MontaHttpStatus +{ + CONTINUE, + SWITCHING_PROTOCOLS, + PROCESSING, + OK, + CREATED, + ACCEPTED, + NON_AUTHORITATIVE_INFORMATION, + NO_CONTENT, + RESET_CONTENT, + PARTIAL_CONTENT, + MULTI_STATUS, + ALREADY_IMPORTED, + IM_USED, + MULTIPLE_CHOICES, + MOVED_PERMANENTLY, + FOUND, + SEE_OTHER, + NOT_MODIFIED, + USE_PROXY, + SWITCH_PROXY, + TEMPORARY_REDIRECT, + PERMANENT_REDIRECT, + BAD_REQUEST, + UNAUTHORIZED, + PAYMENT_REQUIRED, + FORBIDDEN, + NOT_FOUND, + METHOD_NOT_ALLOWED, + NOT_ACCEPTABLE, + PROXY_AUTHENTICATION_REQUIRED, + REQUEST_TIMEOUT, + CONFLICT, + GONE, + LENGTH_REQUIRED, + PRECONDITION_FAILED, + REQUEST_ENTITY_TOO_LARGE, + REQUEST_URI_TOO_LONG, + UNSUPPORTED_MEDIA_TYPE, + REQUESTED_RANGE_NOT_SATISFIABLE, + EXPECTATION_FAILED, + I_AM_A_TEAPOT, + ENHANCE_YOUR_CALM, + UNPROCESSABLE_ENTITY, + LOCKED, + FAILED_DEPENDENCY, + UNORDERED_COLLECTION, + TOO_EARLY, + UPGRADE_REQUIRED, + PRECONDITION_REQUIRED, + TOO_MANY_REQUESTS, + REQUEST_HEADER_FIELDS_TOO_LARGE, + NO_RESPONSE, + BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS, + UNAVAILABLE_FOR_LEGAL_REASONS, + REQUEST_HEADER_TOO_LARGE, + INTERNAL_SERVER_ERROR, + NOT_IMPLEMENTED, + BAD_GATEWAY, + SERVICE_UNAVAILABLE, + GATEWAY_TIMEOUT, + HTTP_VERSION_NOT_SUPPORTED, + VARIANT_ALSO_NEGOTIATES, + INSUFFICIENT_STORAGE, + LOOP_DETECTED, + BANDWIDTH_LIMIT_EXCEEDED, + NOT_EXTENDED, + NETWORK_AUTHENTICATION_REQUIRED, + CONNECTION_TIMED_OUT, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs new file mode 100644 index 00000000..b2eec0aa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: OperatorRole. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum OperatorRole +{ + [EnumMember(Value = "owner")] + Owner, + + [EnumMember(Value = "payer")] + Payer, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs new file mode 100644 index 00000000..39ee73c9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: PaymentTerminalType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum PaymentTerminalType +{ + [EnumMember(Value = "payter")] + Payter, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs new file mode 100644 index 00000000..98a6598d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: PlanApplicableFor. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum PlanApplicableFor +{ + [EnumMember(Value = "charge-point")] + ChargePoint, + + [EnumMember(Value = "team")] + Team, + + [EnumMember(Value = "operator")] + Operator, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs new file mode 100644 index 00000000..dd31ea4b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: PlanApplicationAudience. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum PlanApplicationAudience +{ + [EnumMember(Value = "all")] + All, + + [EnumMember(Value = "own")] + Own, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs new file mode 100644 index 00000000..946b7f9a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: PlanPriceModel. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum PlanPriceModel +{ + [EnumMember(Value = "fixed")] + Fixed, + + [EnumMember(Value = "per-charge-point")] + PerChargePoint, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs new file mode 100644 index 00000000..b7a88f04 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: PlanServiceType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum PlanServiceType +{ + [EnumMember(Value = "custom")] + Custom, + + [EnumMember(Value = "tax-refund")] + TaxRefund, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs new file mode 100644 index 00000000..a28ac6c3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: PriceGroupType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum PriceGroupType +{ + [EnumMember(Value = "public")] + Public, + + [EnumMember(Value = "member")] + Member, + + [EnumMember(Value = "sponsored")] + Sponsored, + + [EnumMember(Value = "cost")] + Cost, + + [EnumMember(Value = "roaming")] + Roaming, + + [EnumMember(Value = "reimbursement")] + Reimbursement, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs new file mode 100644 index 00000000..c07e4e2e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: PricingType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum PricingType +{ + [EnumMember(Value = "kwh")] + Kwh, + + [EnumMember(Value = "min")] + Min, + + [EnumMember(Value = "spot")] + Spot, + + [EnumMember(Value = "tariff")] + Tariff, + + [EnumMember(Value = "starting")] + Starting, + + [EnumMember(Value = "charging")] + Charging, + + [EnumMember(Value = "idle")] + Idle, + + [EnumMember(Value = "minute")] + Minute, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs new file mode 100644 index 00000000..de96b203 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: SponsoredChargePointPayoutType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum SponsoredChargePointPayoutType +{ + [EnumMember(Value = "end-of-month")] + EndOfMonth, + + [EnumMember(Value = "realtime")] + Realtime, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs new file mode 100644 index 00000000..0655cdab --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: SubscriptionCustomerType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum SubscriptionCustomerType +{ + [EnumMember(Value = "team")] + Team, + + [EnumMember(Value = "charge-point")] + ChargePoint, + + [EnumMember(Value = "operator")] + Operator, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs new file mode 100644 index 00000000..b7d7e4e6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: SubscriptionPurchaseTypeDto. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum SubscriptionPurchaseTypeDto +{ + [EnumMember(Value = "pending")] + Pending, + + [EnumMember(Value = "diff")] + Diff, + + [EnumMember(Value = "unknown")] + Unknown, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs new file mode 100644 index 00000000..cb4082fe --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: SubscriptionState. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum SubscriptionState +{ + [EnumMember(Value = "pending")] + Pending, + + [EnumMember(Value = "active")] + Active, + + [EnumMember(Value = "cancelling")] + Cancelling, + + [EnumMember(Value = "cancelled")] + Cancelled, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs new file mode 100644 index 00000000..a365d972 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: TariffCustomerType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public enum TariffCustomerType +{ + A_ZERO, + A_HIGH, + A_LOW, + B_HIGH, + B_LOW, + C_CUSTOMER, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs new file mode 100644 index 00000000..64155cd3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: TariffType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public enum TariffType +{ + WEEKLY, + DYNAMIC, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs new file mode 100644 index 00000000..81e0980b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: TeamMemberAccess. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum TeamMemberAccess +{ + [EnumMember(Value = "all")] + All, + + [EnumMember(Value = "selected")] + Selected, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs new file mode 100644 index 00000000..bdcfeec6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: TeamMemberRole. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum TeamMemberRole +{ + [EnumMember(Value = "admin")] + Admin, + + [EnumMember(Value = "user")] + User, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs new file mode 100644 index 00000000..239b3f43 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: TeamMemberState. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum TeamMemberState +{ + [EnumMember(Value = "requested")] + Requested, + + [EnumMember(Value = "invited")] + Invited, + + [EnumMember(Value = "rejected")] + Rejected, + + [EnumMember(Value = "accepted")] + Accepted, + + [EnumMember(Value = "blocked")] + Blocked, + + [EnumMember(Value = "expired")] + Expired, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs new file mode 100644 index 00000000..ee9e0977 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: TeamTypeCreatable. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum TeamTypeCreatable +{ + [EnumMember(Value = "private")] + Private, + + [EnumMember(Value = "professional")] + Professional, + + [EnumMember(Value = "operator")] + Operator, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs new file mode 100644 index 00000000..76b25cef --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: TeamWalletChargePaymentType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum TeamWalletChargePaymentType +{ + [EnumMember(Value = "partner")] + Partner, + + [EnumMember(Value = "operator")] + Operator, + + [EnumMember(Value = "all")] + All, + + [EnumMember(Value = "none")] + None, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs new file mode 100644 index 00000000..0f21efd3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: VisibilityType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum VisibilityType +{ + [EnumMember(Value = "private")] + Private, + + [EnumMember(Value = "public")] + Public, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs new file mode 100644 index 00000000..5a1f335f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: VisibilityType1. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum VisibilityType1 +{ + [EnumMember(Value = "private")] + Private, + + [EnumMember(Value = "public")] + Public, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs new file mode 100644 index 00000000..1ebb72a8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: VisibilityType3. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum VisibilityType3 +{ + [EnumMember(Value = "private")] + Private, + + [EnumMember(Value = "public")] + Public, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs new file mode 100644 index 00000000..07f66014 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: WalletTransactionGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum WalletTransactionGroup +{ + [EnumMember(Value = "deposit")] + Deposit, + + [EnumMember(Value = "withdraw")] + Withdraw, + + [EnumMember(Value = "charge")] + Charge, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs new file mode 100644 index 00000000..01e76350 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: WalletTransactionReferenceType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public enum WalletTransactionReferenceType +{ + TEAM, + COMPANY_REFERRAL, + USER_REFERRAL, + ORDER, + SUBSCRIPTION_PURCHASE, + CHARGE, + BANK_ACCOUNT, + WALLET_BANK_ACCOUNT, + STRIPE_CHARGE, + SUBSCRIPTION, + TRANSACTION, + PROMO_CODE_USE, + TEAM_MEMBER_FEE_PURCHASE, + WALLET, + PAYTER_PAYMENT_SESSION, + ADYEN_PAYMENT, + OTHER, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs new file mode 100644 index 00000000..6f12b667 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: WalletTransactionState. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum WalletTransactionState +{ + [EnumMember(Value = "complete")] + Complete, + + [EnumMember(Value = "pending")] + Pending, + + [EnumMember(Value = "failed")] + Failed, + + [EnumMember(Value = "reserved")] + Reserved, + + [EnumMember(Value = "other")] + Other, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs new file mode 100644 index 00000000..4439aa52 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: WebhookEntryEventType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum WebhookEntryEventType +{ + [EnumMember(Value = "*")] + None, + + [EnumMember(Value = "charges")] + Charges, + + [EnumMember(Value = "charge-points")] + ChargePoints, + + [EnumMember(Value = "sites")] + Sites, + + [EnumMember(Value = "team-members")] + TeamMembers, + + [EnumMember(Value = "teams")] + Teams, + + [EnumMember(Value = "installer-jobs")] + InstallerJobs, + + [EnumMember(Value = "wallet-transactions")] + WalletTransactions, + + [EnumMember(Value = "price-groups")] + PriceGroups, + + [EnumMember(Value = "subscriptions")] + Subscriptions, + + [EnumMember(Value = "plans")] + Plans, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs new file mode 100644 index 00000000..b1af82d3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: WebhookEntryPayloadEntityType. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum WebhookEntryPayloadEntityType +{ + [EnumMember(Value = "charge")] + Charge, + + [EnumMember(Value = "charge-point")] + ChargePoint, + + [EnumMember(Value = "site")] + Site, + + [EnumMember(Value = "team")] + Team, + + [EnumMember(Value = "team-member")] + TeamMember, + + [EnumMember(Value = "installer-job")] + InstallerJob, + + [EnumMember(Value = "wallet-transaction")] + WalletTransaction, + + [EnumMember(Value = "price-group")] + PriceGroup, + + [EnumMember(Value = "subscription")] + Subscription, + + [EnumMember(Value = "plan")] + Plan, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs new file mode 100644 index 00000000..4e991a83 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Enumeration: WebhookEntryStatus. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum WebhookEntryStatus +{ + [EnumMember(Value = "pending")] + Pending, + + [EnumMember(Value = "completed")] + Completed, + + [EnumMember(Value = "failed")] + Failed, +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs new file mode 100644 index 00000000..501a530a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// AdditionalPricing. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class AdditionalPricing +{ + [Required] + public AdditionalPricingType Type { get; set; } + + [Required] + public Money Value { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Type)}: ({Type}), {nameof(Value)}: ({Value})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Address.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Address.verified.cs new file mode 100644 index 00000000..bc362856 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Address.verified.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Address. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Address +{ + /// <summary> + /// First line of address. + /// </summary> + [Required] + public string Address1 { get; set; } + + /// <summary> + /// Second line of address. + /// </summary> + public string? Address2 { get; set; } + + /// <summary> + /// Third line of address. + /// </summary> + public string? Address3 { get; set; } + + /// <summary> + /// Zip-code. + /// </summary> + [Required] + public string Zip { get; set; } + + /// <summary> + /// City (readable). + /// </summary> + [Required] + public string City { get; set; } + + /// <summary> + /// Country (readable). + /// </summary> + [Required] + public string Country { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Address1)}: {Address1}, {nameof(Address2)}: {Address2}, {nameof(Address3)}: {Address3}, {nameof(Zip)}: {Zip}, {nameof(City)}: {City}, {nameof(Country)}: {Country}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs new file mode 100644 index 00000000..60e9bfc5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs @@ -0,0 +1,190 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// ChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePoint +{ + /// <summary> + /// Id of this charge point. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Id of the team. + /// </summary> + public long TeamId { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + /// <summary> + /// Id of the site. + /// </summary> + public long? SiteId { get; set; } + + public Operator? Operator { get; set; } + + /// <summary> + /// Creation date of this charge point. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Date this charge point was last updated. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <summary> + /// Date this charge point was deleted. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <summary> + /// Last date when charge point was activated. + /// </summary> + public DateTimeOffset? ActiveAt { get; set; } + + /// <summary> + /// Serial number of this charge point. + /// </summary> + public string? SerialNumber { get; set; } + + /// <summary> + /// Name of the charge point. + /// </summary> + public string? Name { get; set; } + + /// <summary> + /// Indicates if this charge point is `public` or `private`. + /// </summary> + [Required] + public string Visibility { get; set; } + + /// <summary> + /// Max KW available at this charge point. + /// </summary> + public double? MaxKw { get; set; } + + /// <summary> + /// Type of charge point (`AC` / `DC`). + /// </summary> + public string? Type { get; set; } + + /// <summary> + /// A note you have entered for this charge point, e.g. via our Portal. + /// </summary> + public string? Note { get; set; } + + /// <summary> + /// An operator note you have entered for this charge point, e.g. via our Portal. + /// </summary> + public string? OperatorNote { get; set; } + + public ChargePointState? State { get; set; } + + [Required] + public Location Location { get; set; } + + /// <summary> + /// List of supported connector types at this charge point (e.g. type-2, ccs, ...). + /// </summary> + [Required] + public List<ChargePointConnector> Connectors { get; set; } + + [Required] + public ChargePointDeeplinks Deeplinks { get; set; } + + /// <summary> + /// Last meter reading (KWH) for this charge point. + /// </summary> + public double? LastMeterReadingKwh { get; set; } + + /// <summary> + /// Indicates if a cable is plugged in (true). + /// </summary> + public bool CablePluggedIn { get; set; } + + /// <summary> + /// The ID of the charge point model for this charge point. + /// </summary> + public long? ChargePointModelId { get; set; } + + /// <summary> + /// Brand name for this charge point. + /// </summary> + public string? BrandName { get; set; } + + /// <summary> + /// Model name for this charge point. + /// </summary> + public string? ModelName { get; set; } + + /// <summary> + /// Current firmware version for this charge point. + /// </summary> + public string? FirmwareVersion { get; set; } + + public ChargePointIntegrationType? IntegrationType { get; set; } + + /// <summary> + /// The EVSE id for this charge point. + /// </summary> + [Required] + public string EvseId { get; set; } + + /// <summary> + /// The id of the public price group for this charge point. + /// </summary> + public long? PriceGroupId { get; set; } + + /// <summary> + /// The id of the cost price group for this charge point. + /// </summary> + public long? CostGroupId { get; set; } + + /// <summary> + /// The id of the roaming price group for this charge point. + /// </summary> + public long? RoamingPriceGroupId { get; set; } + + /// <summary> + /// The id of the sponsored price group for this charge point. + /// </summary> + public long? SponsoredPriceGroupId { get; set; } + + /// <summary> + /// Indicates if this charge point is active (true) or not (false). Active = fully onboarded to Monta. + /// </summary> + public bool IsActive { get; set; } + + /// <summary> + /// Indicates if the charge point can be reserved. + /// </summary> + public bool Reservable { get; set; } + + /// <summary> + /// The max duration(in minutes) that this Charge Point can be reserved for<br />`null` indicates that reservation is not supported. + /// </summary> + public int? ReservationTime { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(TeamId)}: {TeamId}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}, {nameof(SiteId)}: {SiteId}, {nameof(Operator)}: ({Operator}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(DeletedAt)}: ({DeletedAt}), {nameof(ActiveAt)}: ({ActiveAt}), {nameof(SerialNumber)}: {SerialNumber}, {nameof(Name)}: {Name}, {nameof(Visibility)}: {Visibility}, {nameof(MaxKw)}: {MaxKw}, {nameof(Type)}: {Type}, {nameof(Note)}: {Note}, {nameof(OperatorNote)}: {OperatorNote}, {nameof(State)}: ({State}), {nameof(Location)}: ({Location}), {nameof(Connectors)}.Count: {Connectors?.Count ?? 0}, {nameof(Deeplinks)}: ({Deeplinks}), {nameof(LastMeterReadingKwh)}: {LastMeterReadingKwh}, {nameof(CablePluggedIn)}: {CablePluggedIn}, {nameof(ChargePointModelId)}: {ChargePointModelId}, {nameof(BrandName)}: {BrandName}, {nameof(ModelName)}: {ModelName}, {nameof(FirmwareVersion)}: {FirmwareVersion}, {nameof(IntegrationType)}: ({IntegrationType}), {nameof(EvseId)}: {EvseId}, {nameof(PriceGroupId)}: {PriceGroupId}, {nameof(CostGroupId)}: {CostGroupId}, {nameof(RoamingPriceGroupId)}: {RoamingPriceGroupId}, {nameof(SponsoredPriceGroupId)}: {SponsoredPriceGroupId}, {nameof(IsActive)}: {IsActive}, {nameof(Reservable)}: {Reservable}, {nameof(ReservationTime)}: {ReservationTime}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs new file mode 100644 index 00000000..df47d70a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// ChargePointConnector. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePointConnector +{ + /// <summary> + /// Id of this connector. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Identifier of connector. + /// </summary> + [Required] + public string Identifier { get; set; } + + /// <summary> + /// Readable name of connector. + /// </summary> + [Required] + public string Name { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Identifier)}: {Identifier}, {nameof(Name)}: {Name}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs new file mode 100644 index 00000000..ecbbbbbb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// ChargePointDeeplinks. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ChargePointDeeplinks +{ + /// <summary> + /// Follow this link to open the Monta App with this charge point. + /// </summary> + /// <remarks> + /// Url validation being enforced. + /// </remarks> + [Required] + [Uri] + public Uri App { get; set; } + + /// <summary> + /// Follow this link to open the Monta Web App with this charge point. + /// </summary> + /// <remarks> + /// Url validation being enforced. + /// </remarks> + [Required] + [Uri] + public Uri Web { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(App)}: ({App}), {nameof(Web)}: ({Web})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs new file mode 100644 index 00000000..d954b2b7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Consumer. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Consumer +{ + /// <summary> + /// A name for this credential (e.g. Monta Team A). + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Your operator id. + /// </summary> + public long OperatorId { get; set; } + + /// <summary> + /// List of team ids that are unlocked for API operations. If empty, all teams of this operator are unlocked. + /// </summary> + [Required] + public List<long> TeamIds { get; set; } + + /// <summary> + /// Your client id. + /// </summary> + [Required] + public string ClientId { get; set; } + + /// <summary> + /// Rate-limit for your account; requests per `rateLimitIntervalInSeconds`. + /// </summary> + public long RateLimit { get; set; } + + /// <summary> + /// Rate-limit interval for your `rateLimit`. + /// </summary> + public long RateLimitIntervalInSeconds { get; set; } + + /// <summary> + /// List of scopes for this account. + /// </summary> + [Required] + public List<string> Scopes { get; set; } + + /// <summary> + /// Creation date of this consumer. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Update date of this consumer. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Name)}: {Name}, {nameof(OperatorId)}: {OperatorId}, {nameof(TeamIds)}.Count: {TeamIds?.Count ?? 0}, {nameof(ClientId)}: {ClientId}, {nameof(RateLimit)}: {RateLimit}, {nameof(RateLimitIntervalInSeconds)}: {RateLimitIntervalInSeconds}, {nameof(Scopes)}.Count: {Scopes?.Count ?? 0}, {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs new file mode 100644 index 00000000..d81cf7f0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Coordinates. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Coordinates +{ + /// <summary> + /// Latitude value of coordinate. + /// </summary> + public double Latitude { get; set; } + + /// <summary> + /// Longitude value of coordinate. + /// </summary> + public double Longitude { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Latitude)}: {Latitude}, {nameof(Longitude)}: {Longitude}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs new file mode 100644 index 00000000..95e0ad9c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// CreatedOrUpdateAddress. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreatedOrUpdateAddress +{ + /// <summary> + /// First line of address. + /// </summary> + [Required] + [MinLength(1)] + public string Address1 { get; set; } + + /// <summary> + /// Second line of address. + /// </summary> + [MinLength(1)] + public string? Address2 { get; set; } + + /// <summary> + /// Third line of address. + /// </summary> + [MinLength(1)] + public string? Address3 { get; set; } + + /// <summary> + /// The city name. + /// </summary> + [Required] + [MinLength(1)] + public string City { get; set; } + + /// <summary> + /// The address zip code. + /// </summary> + [Required] + [MinLength(1)] + public string ZipCode { get; set; } + + /// <summary> + /// The country id, Note. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long CountryId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Address1)}: {Address1}, {nameof(Address2)}: {Address2}, {nameof(Address3)}: {Address3}, {nameof(City)}: {City}, {nameof(ZipCode)}: {ZipCode}, {nameof(CountryId)}: {CountryId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs new file mode 100644 index 00000000..2c410a1c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Currency. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Currency +{ + /// <summary> + /// Currency identifier, e.g. dkk. + /// </summary> + [Required] + public string Identifier { get; set; } + + /// <summary> + /// Readable name of currency. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Number of decimals for this currency. + /// </summary> + public int Decimals { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Identifier)}: {Identifier}, {nameof(Name)}: {Name}, {nameof(Decimals)}: {Decimals}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs new file mode 100644 index 00000000..bf87c5d7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs @@ -0,0 +1,22 @@ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Represents an error response. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ErrorResponse +{ + public string? Status { get; set; } + + public string? Message { get; set; } + + public string? ReadableMessage { get; set; } + + public string? ErrorCode { get; set; } + + public object? Context { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Status)}: {Status}, {nameof(Message)}: {Message}, {nameof(ReadableMessage)}: {ReadableMessage}, {nameof(ErrorCode)}: {ErrorCode}, {nameof(Context)}: {Context}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Location.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Location.verified.cs new file mode 100644 index 00000000..0e94ea92 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Location.verified.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Location. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Location +{ + public Coordinates? Coordinates { get; set; } + + public Address? Address { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Coordinates)}: ({Coordinates}), {nameof(Address)}: ({Address})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Money.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Money.verified.cs new file mode 100644 index 00000000..c334a384 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Money.verified.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Money. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Money +{ + /// <summary> + /// The amount of money. + /// </summary> + [Required] + public long Amount { get; set; } + + [Required] + public Currency Currency { get; set; } + + /// <summary> + /// Current user locale. + /// </summary> + [Required] + [MinLength(1)] + public string Locale { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Amount)}: {Amount}, {nameof(Currency)}: ({Currency}), {nameof(Locale)}: {Locale}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs new file mode 100644 index 00000000..64b18729 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// MontaPageMeta. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class MontaPageMeta +{ + [Required] + public int ItemCount { get; set; } + + [Required] + public int CurrentPage { get; set; } + + [Required] + public int PerPage { get; set; } + + [Required] + public int TotalPageCount { get; set; } + + [Required] + public long TotalItemCount { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ItemCount)}: {ItemCount}, {nameof(CurrentPage)}: {CurrentPage}, {nameof(PerPage)}: {PerPage}, {nameof(TotalPageCount)}: {TotalPageCount}, {nameof(TotalItemCount)}: {TotalItemCount}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs new file mode 100644 index 00000000..036ae7da --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Operator. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Operator +{ + /// <summary> + /// ID of the operator. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// Name of operator. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// Identifier of operator. + /// </summary> + [Required] + public string Identifier { get; set; } + + /// <summary> + /// Partner id (owner of this operator). + /// </summary> + public long? PartnerId { get; set; } + + /// <summary> + /// VAT number. + /// </summary> + public string? VatNumber { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Name)}: {Name}, {nameof(Identifier)}: {Identifier}, {nameof(PartnerId)}: {PartnerId}, {nameof(VatNumber)}: {VatNumber}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs new file mode 100644 index 00000000..d6f8a22e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// PriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PriceGroup +{ + /// <summary> + /// Id of the price group. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long Id { get; set; } + + /// <summary> + /// Name of the price group. + /// </summary> + [Required] + public string Name { get; set; } + + public bool Default { get; set; } + + [Required] + public PriceGroupType Type { get; set; } + + [Required] + public Pricing MasterPrice { get; set; } + + /// <summary> + /// Tariffs of the price group. + /// </summary> + [Required] + public List<Pricing>? Tariffs { get; set; } + + /// <summary> + /// Fees of the price group. + /// </summary> + public List<Pricing>? Fees { get; set; } = new List<Pricing>(); + + /// <summary> + /// To how many team members the price group has been applied to. + /// </summary> + public int? TeamMemberCount { get; set; } + + /// <summary> + /// To how many charge points the price group has been applied to. + /// </summary> + public int? ChargePointCount { get; set; } + + [Required] + public PriceGroupAppliedTo AppliedTo { get; set; } + + /// <summary> + /// When the price group was created. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// When the price group was updated. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Name)}: {Name}, {nameof(Default)}: {Default}, {nameof(Type)}: ({Type}), {nameof(MasterPrice)}: ({MasterPrice}), {nameof(Tariffs)}.Count: {Tariffs?.Count ?? 0}, {nameof(Fees)}.Count: {Fees?.Count ?? 0}, {nameof(TeamMemberCount)}: {TeamMemberCount}, {nameof(ChargePointCount)}: {ChargePointCount}, {nameof(AppliedTo)}: ({AppliedTo}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs new file mode 100644 index 00000000..93486f29 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// PriceGroupAppliedTo. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PriceGroupAppliedTo +{ + /// <summary> + /// Id's of the ChargePoints this Pricegroup has been applied to. + /// </summary> + [Required] + public List<long> ChargePoints { get; set; } + + /// <summary> + /// Id's of the Sites this Pricegroup has been applied to. + /// </summary> + [Required] + public List<long> Sites { get; set; } + + /// <summary> + /// Id's of the Team Members this Pricegroup has been applied to. + /// </summary> + [Required] + public List<long> TeamMembers { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(ChargePoints)}.Count: {ChargePoints?.Count ?? 0}, {nameof(Sites)}.Count: {Sites?.Count ?? 0}, {nameof(TeamMembers)}.Count: {TeamMembers?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs new file mode 100644 index 00000000..edd48b45 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs @@ -0,0 +1,57 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// PriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PriceGroupTag +{ + /// <summary> + /// The id for this tag. + /// </summary> + public long Id { get; set; } + + /// <summary> + /// The name for this tag. + /// </summary> + [Required] + public string Name { get; set; } + + /// <summary> + /// The description for this tag. + /// </summary> + public string? Description { get; set; } + + /// <summary> + /// External Id of this entity, managed by you. + /// </summary> + public string? PartnerExternalId { get; set; } + + /// <summary> + /// Custom JSON payload for this entity, managed by you. + /// </summary> + public List<Object>? PartnerCustomPayload { get; set; } = new List<Object>(); + + public Operator? Operator { get; set; } + + /// <summary> + /// Creation date of this resource. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Last update date of this resource. + /// </summary> + public DateTimeOffset? UpdatedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Name)}: {Name}, {nameof(Description)}: {Description}, {nameof(PartnerExternalId)}: {PartnerExternalId}, {nameof(PartnerCustomPayload)}.Count: {PartnerCustomPayload?.Count ?? 0}, {nameof(Operator)}: ({Operator}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs new file mode 100644 index 00000000..9f2abeb1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs @@ -0,0 +1,107 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Pricing. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Pricing +{ + /// <summary> + /// Id of the pricing. + /// </summary> + [Required] + [Range(0, 2147483647)] + public long Id { get; set; } + + /// <summary> + /// Name of the pricing. It will be null when it's the master price. + /// </summary> + public string? Description { get; set; } + + [Required] + public PricingType Type { get; set; } + + /// <summary> + /// If this is the master price (not a fee). + /// </summary> + [Required] + public bool Master { get; set; } + + /// <summary> + /// If it's a dynamic price. It will be true if a `tariffId` is present. + /// </summary> + [Required] + public bool DynamicPricing { get; set; } + + /// <summary> + /// Used by the Minute fee. True means it will stop charging the fee when the charge is complete. False means it will stop charging the fee when the cable is unplugged. + /// </summary> + [Required] + public bool EndAtFullyCharged { get; set; } + + /// <summary> + /// Used by Spot Price. True means it will add % of VAT on top the price calculations<br />*Note*: `vat` rates differ from country to country. + /// </summary> + [Required] + public bool Vat { get; set; } + + /// <summary> + /// Used by Spot Price. It will multiply the fallback price by this percentage. + /// </summary> + public double? Percentage { get; set; } = 100.000; + + /// <summary> + /// The id of the selected Tariff. + /// </summary> + public long? TariffId { get; set; } + + /// <summary> + /// When the pricing was last updated. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <summary> + /// Used by Charging, Minute and Idle Fees. After how many minutes the fee should start being applied. + /// </summary> + public int? ApplyAfterMinutes { get; set; } + + [Required] + public Money Price { get; set; } + + public Money? PriceMin { get; set; } + + public Money? PriceMax { get; set; } + + public Money? FeePriceMax { get; set; } + + /// <summary> + /// Used by spot price. Additional absolute money or percentages values to be added on top of the previous calculations. + /// </summary> + public List<AdditionalPricing>? Additional { get; set; } = new List<AdditionalPricing>(); + + /// <summary> + /// DateTime "from" time to which this pricing should apply from. + /// </summary> + public DateTimeOffset? From { get; set; } + + /// <summary> + /// DateTime "to" time to which this pricing should apply to. + /// </summary> + public DateTimeOffset? To { get; set; } + + /// <summary> + /// The id of the charge pricing tag for this pricing. + /// </summary> + public long? TagId { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(Description)}: {Description}, {nameof(Type)}: ({Type}), {nameof(Master)}: {Master}, {nameof(DynamicPricing)}: {DynamicPricing}, {nameof(EndAtFullyCharged)}: {EndAtFullyCharged}, {nameof(Vat)}: {Vat}, {nameof(Percentage)}: {Percentage}, {nameof(TariffId)}: {TariffId}, {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(ApplyAfterMinutes)}: {ApplyAfterMinutes}, {nameof(Price)}: ({Price}), {nameof(PriceMin)}: ({PriceMin}), {nameof(PriceMax)}: ({PriceMax}), {nameof(FeePriceMax)}: ({FeePriceMax}), {nameof(Additional)}.Count: {Additional?.Count ?? 0}, {nameof(From)}: ({From}), {nameof(To)}: ({To}), {nameof(TagId)}: {TagId}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs new file mode 100644 index 00000000..63fe19a1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// PublicUser. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PublicUser +{ + /// <summary> + /// Id of the user. + /// </summary> + [Required] + public long Id { get; set; } + + /// <summary> + /// Formatted name to be displayed. + /// </summary> + [Required] + public string DisplayName { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(DisplayName)}: {DisplayName}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs new file mode 100644 index 00000000..4c2c8afc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs @@ -0,0 +1,113 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// Subscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class Subscription +{ + /// <summary> + /// Id of the subscription. + /// </summary> + public long Id { get; set; } + + [Required] + public SubscriptionState State { get; set; } + + /// <summary> + /// Date of next purchase. + /// </summary> + public DateTimeOffset? NextPurchaseAt { get; set; } + + /// <summary> + /// Subscription cancellation date. + /// </summary> + public DateTimeOffset? CancelledAt { get; set; } + + /// <summary> + /// Subscription end date. + /// </summary> + public DateTimeOffset? EndAt { get; set; } + + /// <summary> + /// Discount percentage. + /// </summary> + public double DiscountPercentage { get; set; } + + /// <summary> + /// Discount absolute. + /// </summary> + public double DiscountAbsolute { get; set; } + + /// <summary> + /// Discount amount. + /// </summary> + public double DiscountAmount { get; set; } + + /// <summary> + /// Original amount. + /// </summary> + public double OriginalAmount { get; set; } + + /// <summary> + /// Total amount. + /// </summary> + public double TotalAmount { get; set; } + + /// <summary> + /// Number of purchases. + /// </summary> + public int PurchaseCount { get; set; } + + /// <summary> + /// Number of charge points. + /// </summary> + public int ChargePoints { get; set; } + + /// <summary> + /// The id of the customer. + /// </summary> + public long CustomerId { get; set; } + + [Required] + public SubscriptionCustomerType CustomerType { get; set; } + + /// <summary> + /// Plan id. + /// </summary> + public long PlanId { get; set; } + + public SubscriptionServiceConfig? ServiceConfig { get; set; } + + /// <summary> + /// Subscription creation date. + /// </summary> + [Required] + public DateTimeOffset CreatedAt { get; set; } + + /// <summary> + /// Subscription update date. + /// </summary> + [Required] + public DateTimeOffset UpdatedAt { get; set; } + + /// <summary> + /// Indicates if the subscription can be cancelled. + /// </summary> + public bool CanCancel { get; set; } + + /// <summary> + /// Subscription marked as deleted date. + /// </summary> + public DateTimeOffset? DeletedAt { get; set; } + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(Id)}: {Id}, {nameof(State)}: ({State}), {nameof(NextPurchaseAt)}: ({NextPurchaseAt}), {nameof(CancelledAt)}: ({CancelledAt}), {nameof(EndAt)}: ({EndAt}), {nameof(DiscountPercentage)}: {DiscountPercentage}, {nameof(DiscountAbsolute)}: {DiscountAbsolute}, {nameof(DiscountAmount)}: {DiscountAmount}, {nameof(OriginalAmount)}: {OriginalAmount}, {nameof(TotalAmount)}: {TotalAmount}, {nameof(PurchaseCount)}: {PurchaseCount}, {nameof(ChargePoints)}: {ChargePoints}, {nameof(CustomerId)}: {CustomerId}, {nameof(CustomerType)}: ({CustomerType}), {nameof(PlanId)}: {PlanId}, {nameof(ServiceConfig)}: ({ServiceConfig}), {nameof(CreatedAt)}: ({CreatedAt}), {nameof(UpdatedAt)}: ({UpdatedAt}), {nameof(CanCancel)}: {CanCancel}, {nameof(DeletedAt)}: ({DeletedAt})"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs new file mode 100644 index 00000000..253133f4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Contracts; + +/// <summary> +/// SubscriptionServiceConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SubscriptionServiceConfig +{ + /// <summary> + /// A list of SubscriptionServiceConfig. + /// </summary> + public List<SubscriptionServiceConfig> SubscriptionServiceConfigList { get; set; } = new List<SubscriptionServiceConfig>(); + + /// <inheritdoc /> + public override string ToString() + => $"{nameof(SubscriptionServiceConfigList)}.Count: {SubscriptionServiceConfigList?.Count ?? 0}"; +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs new file mode 100644 index 00000000..a5ccedc8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Auth; + +/// <summary> +/// Client Endpoint. +/// Description: Obtain your `accessToken`. +/// Operation: GetAccessTokenWithClientCredentials. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAccessTokenWithClientCredentialsEndpoint : IGetAccessTokenWithClientCredentialsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetAccessTokenWithClientCredentialsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetAccessTokenWithClientCredentialsEndpointResult> ExecuteAsync( + GetAccessTokenWithClientCredentialsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/auth/token"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Token>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetAccessTokenWithClientCredentialsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs new file mode 100644 index 00000000..167eefb9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Auth; + +/// <summary> +/// Client Endpoint result. +/// Description: Obtain your `accessToken`. +/// Operation: GetAccessTokenWithClientCredentials. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAccessTokenWithClientCredentialsEndpointResult : EndpointResponse, IGetAccessTokenWithClientCredentialsEndpointResult +{ + public GetAccessTokenWithClientCredentialsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public Token OkContent + => IsOk && ContentObject is Token result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs new file mode 100644 index 00000000..1ce087b5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Auth; + +/// <summary> +/// Client Endpoint. +/// Description: Obtain your `accessToken` with a `refreshToken`. +/// Operation: GetAccessTokenWithRefreshToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAccessTokenWithRefreshTokenEndpoint : IGetAccessTokenWithRefreshTokenEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetAccessTokenWithRefreshTokenEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetAccessTokenWithRefreshTokenEndpointResult> ExecuteAsync( + GetAccessTokenWithRefreshTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/auth/refresh"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Token>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetAccessTokenWithRefreshTokenEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs new file mode 100644 index 00000000..dc6174e3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Auth; + +/// <summary> +/// Client Endpoint result. +/// Description: Obtain your `accessToken` with a `refreshToken`. +/// Operation: GetAccessTokenWithRefreshToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAccessTokenWithRefreshTokenEndpointResult : EndpointResponse, IGetAccessTokenWithRefreshTokenEndpointResult +{ + public GetAccessTokenWithRefreshTokenEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public Token OkContent + => IsOk && ContentObject is Token result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs new file mode 100644 index 00000000..d4510187 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Obtain your `accessToken`. +/// Operation: GetAccessTokenWithClientCredentials. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetAccessTokenWithClientCredentialsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetAccessTokenWithClientCredentialsEndpointResult> ExecuteAsync( + GetAccessTokenWithClientCredentialsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs new file mode 100644 index 00000000..b98d04bd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Obtain your `accessToken`. +/// Operation: GetAccessTokenWithClientCredentials. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetAccessTokenWithClientCredentialsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + Token OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs new file mode 100644 index 00000000..9cde18c9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Obtain your `accessToken` with a `refreshToken`. +/// Operation: GetAccessTokenWithRefreshToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetAccessTokenWithRefreshTokenEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetAccessTokenWithRefreshTokenEndpointResult> ExecuteAsync( + GetAccessTokenWithRefreshTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs new file mode 100644 index 00000000..d3ae0873 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Obtain your `accessToken` with a `refreshToken`. +/// Operation: GetAccessTokenWithRefreshToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetAccessTokenWithRefreshTokenEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + Token OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..174c9703 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint. +/// Description: Block a charge auth token. +/// Operation: BlockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class BlockChargeAuthTokenEndpoint : IBlockChargeAuthTokenEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public BlockChargeAuthTokenEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<BlockChargeAuthTokenEndpointResult> ExecuteAsync( + BlockChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-auth-tokens/{chargeAuthTokenId}/block"); + requestBuilder.WithPathParameter("chargeAuthTokenId", parameters.ChargeAuthTokenId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargeAuthToken>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new BlockChargeAuthTokenEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..9c7b5709 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint result. +/// Description: Block a charge auth token. +/// Operation: BlockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class BlockChargeAuthTokenEndpointResult : EndpointResponse, IBlockChargeAuthTokenEndpointResult +{ + public BlockChargeAuthTokenEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public ChargeAuthToken OkContent + => IsOk && ContentObject is ChargeAuthToken result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..59bc1b38 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint. +/// Description: Create a new charge auth token. +/// Operation: CreateChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateChargeAuthTokenEndpoint : ICreateChargeAuthTokenEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public CreateChargeAuthTokenEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<CreateChargeAuthTokenEndpointResult> ExecuteAsync( + CreateChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-auth-tokens"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new CreateChargeAuthTokenEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..c714d37e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint result. +/// Description: Create a new charge auth token. +/// Operation: CreateChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateChargeAuthTokenEndpointResult : EndpointResponse, ICreateChargeAuthTokenEndpointResult +{ + public CreateChargeAuthTokenEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..a09b1b09 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint. +/// Description: Deletes a charge auth token. +/// Operation: DeleteChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargeAuthTokenEndpoint : IDeleteChargeAuthTokenEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteChargeAuthTokenEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteChargeAuthTokenEndpointResult> ExecuteAsync( + DeleteChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-auth-tokens/{chargeAuthTokenId}"); + requestBuilder.WithPathParameter("chargeAuthTokenId", parameters.ChargeAuthTokenId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<string?>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new DeleteChargeAuthTokenEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..05df0054 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint result. +/// Description: Deletes a charge auth token. +/// Operation: DeleteChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargeAuthTokenEndpointResult : EndpointResponse, IDeleteChargeAuthTokenEndpointResult +{ + public DeleteChargeAuthTokenEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public string? OkContent + => IsOk && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..51de19e1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a charge auth token. +/// Operation: GetChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeAuthTokenEndpoint : IGetChargeAuthTokenEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargeAuthTokenEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargeAuthTokenEndpointResult> ExecuteAsync( + GetChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-auth-tokens/{chargeAuthTokenId}"); + requestBuilder.WithPathParameter("chargeAuthTokenId", parameters.ChargeAuthTokenId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargeAuthToken>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetChargeAuthTokenEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..33fe843f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a charge auth token. +/// Operation: GetChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeAuthTokenEndpointResult : EndpointResponse, IGetChargeAuthTokenEndpointResult +{ + public GetChargeAuthTokenEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public ChargeAuthToken OkContent + => IsOk && ContentObject is ChargeAuthToken result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs new file mode 100644 index 00000000..ba5f4025 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve list of charge auth tokens. +/// Operation: GetChargeAuthTokens. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeAuthTokensEndpoint : IGetChargeAuthTokensEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargeAuthTokensEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargeAuthTokensEndpointResult> ExecuteAsync( + GetChargeAuthTokensParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-auth-tokens"); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("partnerExternalId", parameters.PartnerExternalId); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargeAuthTokenDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetChargeAuthTokensEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs new file mode 100644 index 00000000..e15111b2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve list of charge auth tokens. +/// Operation: GetChargeAuthTokens. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeAuthTokensEndpointResult : EndpointResponse, IGetChargeAuthTokensEndpointResult +{ + public GetChargeAuthTokensEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargeAuthTokenDto OkContent + => IsOk && ContentObject is MontaPageChargeAuthTokenDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..b453260f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Block a charge auth token. +/// Operation: BlockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IBlockChargeAuthTokenEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<BlockChargeAuthTokenEndpointResult> ExecuteAsync( + BlockChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..10a2377b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Block a charge auth token. +/// Operation: BlockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IBlockChargeAuthTokenEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + ChargeAuthToken OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..55d9fa76 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create a new charge auth token. +/// Operation: CreateChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateChargeAuthTokenEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<CreateChargeAuthTokenEndpointResult> ExecuteAsync( + CreateChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..212f1fda --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create a new charge auth token. +/// Operation: CreateChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateChargeAuthTokenEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..278c36b2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Deletes a charge auth token. +/// Operation: DeleteChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteChargeAuthTokenEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteChargeAuthTokenEndpointResult> ExecuteAsync( + DeleteChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..0bfff792 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Deletes a charge auth token. +/// Operation: DeleteChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteChargeAuthTokenEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + string? OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..d81b0ac4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a charge auth token. +/// Operation: GetChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargeAuthTokenEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargeAuthTokenEndpointResult> ExecuteAsync( + GetChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..ac4f4f63 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a charge auth token. +/// Operation: GetChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargeAuthTokenEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + ChargeAuthToken OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs new file mode 100644 index 00000000..35585748 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve list of charge auth tokens. +/// Operation: GetChargeAuthTokens. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargeAuthTokensEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargeAuthTokensEndpointResult> ExecuteAsync( + GetChargeAuthTokensParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs new file mode 100644 index 00000000..209a76fb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve list of charge auth tokens. +/// Operation: GetChargeAuthTokens. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargeAuthTokensEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargeAuthTokenDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..63cf31d4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Patch an existing charge auth token. +/// Operation: PatchChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchChargeAuthTokenEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchChargeAuthTokenEndpointResult> ExecuteAsync( + PatchChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..5e3d2a6a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Patch an existing charge auth token. +/// Operation: PatchChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchChargeAuthTokenEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + ChargeAuthToken OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..1b689429 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Unblock a charge auth token. +/// Operation: UnblockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUnblockChargeAuthTokenEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<UnblockChargeAuthTokenEndpointResult> ExecuteAsync( + UnblockChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..9e108dcb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Unblock a charge auth token. +/// Operation: UnblockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUnblockChargeAuthTokenEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + ChargeAuthToken OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..e2ae415b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint. +/// Description: Patch an existing charge auth token. +/// Operation: PatchChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargeAuthTokenEndpoint : IPatchChargeAuthTokenEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchChargeAuthTokenEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchChargeAuthTokenEndpointResult> ExecuteAsync( + PatchChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-auth-tokens/{chargeAuthTokenId}"); + requestBuilder.WithPathParameter("chargeAuthTokenId", parameters.ChargeAuthTokenId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargeAuthToken>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PatchChargeAuthTokenEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..48270bb4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint result. +/// Description: Patch an existing charge auth token. +/// Operation: PatchChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargeAuthTokenEndpointResult : EndpointResponse, IPatchChargeAuthTokenEndpointResult +{ + public PatchChargeAuthTokenEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public ChargeAuthToken OkContent + => IsOk && ContentObject is ChargeAuthToken result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs new file mode 100644 index 00000000..36dd94d7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint. +/// Description: Unblock a charge auth token. +/// Operation: UnblockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UnblockChargeAuthTokenEndpoint : IUnblockChargeAuthTokenEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public UnblockChargeAuthTokenEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<UnblockChargeAuthTokenEndpointResult> ExecuteAsync( + UnblockChargeAuthTokenParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-auth-tokens/{chargeAuthTokenId}/unblock"); + requestBuilder.WithPathParameter("chargeAuthTokenId", parameters.ChargeAuthTokenId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargeAuthToken>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new UnblockChargeAuthTokenEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs new file mode 100644 index 00000000..8ae51ee7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; + +/// <summary> +/// Client Endpoint result. +/// Description: Unblock a charge auth token. +/// Operation: UnblockChargeAuthToken. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UnblockChargeAuthTokenEndpointResult : EndpointResponse, IUnblockChargeAuthTokenEndpointResult +{ + public UnblockChargeAuthTokenEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public ChargeAuthToken OkContent + => IsOk && ContentObject is ChargeAuthToken result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs new file mode 100644 index 00000000..32ec4f5a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a charge point brand. +/// Operation: GetChargePointBrand. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointBrandEndpoint : IGetChargePointBrandEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointBrandEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointBrandEndpointResult> ExecuteAsync( + GetChargePointBrandParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-brands/{chargePointBrandId}"); + requestBuilder.WithPathParameter("chargePointBrandId", parameters.ChargePointBrandId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargePointBrand>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointBrandEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs new file mode 100644 index 00000000..5e1d480c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a charge point brand. +/// Operation: GetChargePointBrand. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointBrandEndpointResult : EndpointResponse, IGetChargePointBrandEndpointResult +{ + public GetChargePointBrandEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public ChargePointBrand OkContent + => IsOk && ContentObject is ChargePointBrand result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs new file mode 100644 index 00000000..6c0b3ce1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve list of charge point brands. +/// Operation: GetChargePointBrands. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointBrandsEndpoint : IGetChargePointBrandsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointBrandsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointBrandsEndpointResult> ExecuteAsync( + GetChargePointBrandsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-brands"); + requestBuilder.WithQueryParameter("search", parameters.Search); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargePointBrandDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointBrandsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs new file mode 100644 index 00000000..ebb15deb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve list of charge point brands. +/// Operation: GetChargePointBrands. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointBrandsEndpointResult : EndpointResponse, IGetChargePointBrandsEndpointResult +{ + public GetChargePointBrandsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargePointBrandDto OkContent + => IsOk && ContentObject is MontaPageChargePointBrandDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs new file mode 100644 index 00000000..c445e6e8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a charge point brand. +/// Operation: GetChargePointBrand. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointBrandEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointBrandEndpointResult> ExecuteAsync( + GetChargePointBrandParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs new file mode 100644 index 00000000..a1a751e1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a charge point brand. +/// Operation: GetChargePointBrand. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointBrandEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + ChargePointBrand OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs new file mode 100644 index 00000000..e7a17a73 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve list of charge point brands. +/// Operation: GetChargePointBrands. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointBrandsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointBrandsEndpointResult> ExecuteAsync( + GetChargePointBrandsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs new file mode 100644 index 00000000..6e660cf7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve list of charge point brands. +/// Operation: GetChargePointBrands. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointBrandsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargePointBrandDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs new file mode 100644 index 00000000..792ec062 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single charge point connector. +/// Operation: GetConnector. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetConnectorEndpoint : IGetConnectorEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetConnectorEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetConnectorEndpointResult> ExecuteAsync( + GetConnectorParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-connectors/{connectorId}"); + requestBuilder.WithPathParameter("connectorId", parameters.ConnectorId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargePointConnector>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetConnectorEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs new file mode 100644 index 00000000..aed11466 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single charge point connector. +/// Operation: GetConnector. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetConnectorEndpointResult : EndpointResponse, IGetConnectorEndpointResult +{ + public GetConnectorEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public ChargePointConnector OkContent + => IsOk && ContentObject is ChargePointConnector result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs new file mode 100644 index 00000000..5a4007c6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of charge point connectors. +/// Operation: GetConnectors. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetConnectorsEndpoint : IGetConnectorsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetConnectorsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetConnectorsEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-connectors"); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargePointConnectorDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetConnectorsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs new file mode 100644 index 00000000..046a3b39 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of charge point connectors. +/// Operation: GetConnectors. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetConnectorsEndpointResult : EndpointResponse, IGetConnectorsEndpointResult +{ + public GetConnectorsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargePointConnectorDto OkContent + => IsOk && ContentObject is MontaPageChargePointConnectorDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs new file mode 100644 index 00000000..8dc9b90a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single charge point connector. +/// Operation: GetConnector. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetConnectorEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetConnectorEndpointResult> ExecuteAsync( + GetConnectorParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs new file mode 100644 index 00000000..93deb61d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single charge point connector. +/// Operation: GetConnector. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetConnectorEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + ChargePointConnector OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs new file mode 100644 index 00000000..4d1d3004 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of charge point connectors. +/// Operation: GetConnectors. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetConnectorsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetConnectorsEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs new file mode 100644 index 00000000..ed5087f2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of charge point connectors. +/// Operation: GetConnectors. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetConnectorsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargePointConnectorDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs new file mode 100644 index 00000000..62b371d8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; + +/// <summary> +/// Client Endpoint. +/// Description: Delete a charge point integration. +/// Operation: DeleteChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargePointIntegrationEndpoint : IDeleteChargePointIntegrationEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteChargePointIntegrationEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteChargePointIntegrationEndpointResult> ExecuteAsync( + DeleteChargePointIntegrationParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-integrations/{chargePointIntegrationId}"); + requestBuilder.WithPathParameter("chargePointIntegrationId", parameters.ChargePointIntegrationId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new DeleteChargePointIntegrationEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs new file mode 100644 index 00000000..df05c47d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete a charge point integration. +/// Operation: DeleteChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargePointIntegrationEndpointResult : EndpointResponse, IDeleteChargePointIntegrationEndpointResult +{ + public DeleteChargePointIntegrationEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs new file mode 100644 index 00000000..c61d8e8b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single charge point integration. +/// Operation: GetChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointIntegrationEndpoint : IGetChargePointIntegrationEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointIntegrationEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointIntegrationEndpointResult> ExecuteAsync( + GetChargePointIntegrationParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-integrations/{chargePointIntegrationId}"); + requestBuilder.WithPathParameter("chargePointIntegrationId", parameters.ChargePointIntegrationId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargePointIntegration>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointIntegrationEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs new file mode 100644 index 00000000..00502bc3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single charge point integration. +/// Operation: GetChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointIntegrationEndpointResult : EndpointResponse, IGetChargePointIntegrationEndpointResult +{ + public GetChargePointIntegrationEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public ChargePointIntegration OkContent + => IsOk && ContentObject is ChargePointIntegration result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs new file mode 100644 index 00000000..c5a89c06 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of charge points integrations. +/// Operation: GetChargePointIntegrations. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointIntegrationsEndpoint : IGetChargePointIntegrationsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointIntegrationsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointIntegrationsEndpointResult> ExecuteAsync( + GetChargePointIntegrationsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-integrations"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("chargePointId", parameters.ChargePointId); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargePointIntegrationDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointIntegrationsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs new file mode 100644 index 00000000..6ad411a8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of charge points integrations. +/// Operation: GetChargePointIntegrations. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointIntegrationsEndpointResult : EndpointResponse, IGetChargePointIntegrationsEndpointResult +{ + public GetChargePointIntegrationsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargePointIntegrationDto OkContent + => IsOk && ContentObject is MontaPageChargePointIntegrationDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs new file mode 100644 index 00000000..bbdde164 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete a charge point integration. +/// Operation: DeleteChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteChargePointIntegrationEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteChargePointIntegrationEndpointResult> ExecuteAsync( + DeleteChargePointIntegrationParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs new file mode 100644 index 00000000..5e96891c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete a charge point integration. +/// Operation: DeleteChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteChargePointIntegrationEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs new file mode 100644 index 00000000..5c48abb0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single charge point integration. +/// Operation: GetChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointIntegrationEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointIntegrationEndpointResult> ExecuteAsync( + GetChargePointIntegrationParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs new file mode 100644 index 00000000..6f5a95d1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single charge point integration. +/// Operation: GetChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointIntegrationEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + ChargePointIntegration OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs new file mode 100644 index 00000000..fce55710 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of charge points integrations. +/// Operation: GetChargePointIntegrations. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointIntegrationsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointIntegrationsEndpointResult> ExecuteAsync( + GetChargePointIntegrationsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs new file mode 100644 index 00000000..0f023651 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of charge points integrations. +/// Operation: GetChargePointIntegrations. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointIntegrationsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargePointIntegrationDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs new file mode 100644 index 00000000..7c73d6f8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create or update a charge point integration. +/// Operation: PostOrPutChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostOrPutChargePointIntegrationEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostOrPutChargePointIntegrationEndpointResult> ExecuteAsync( + PostOrPutChargePointIntegrationParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs new file mode 100644 index 00000000..1f169be0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create or update a charge point integration. +/// Operation: PostOrPutChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostOrPutChargePointIntegrationEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + ChargePointIntegration OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs new file mode 100644 index 00000000..abc21922 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; + +/// <summary> +/// Client Endpoint. +/// Description: Create or update a charge point integration. +/// Operation: PostOrPutChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostOrPutChargePointIntegrationEndpoint : IPostOrPutChargePointIntegrationEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostOrPutChargePointIntegrationEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostOrPutChargePointIntegrationEndpointResult> ExecuteAsync( + PostOrPutChargePointIntegrationParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-integrations"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Put); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargePointIntegration>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PostOrPutChargePointIntegrationEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs new file mode 100644 index 00000000..d8b311f9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; + +/// <summary> +/// Client Endpoint result. +/// Description: Create or update a charge point integration. +/// Operation: PostOrPutChargePointIntegration. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostOrPutChargePointIntegrationEndpointResult : EndpointResponse, IPostOrPutChargePointIntegrationEndpointResult +{ + public PostOrPutChargePointIntegrationEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public ChargePointIntegration OkContent + => IsOk && ContentObject is ChargePointIntegration result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs new file mode 100644 index 00000000..eb8df27d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a charge point model. +/// Operation: GetChargePointModel. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointModelEndpoint : IGetChargePointModelEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointModelEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointModelEndpointResult> ExecuteAsync( + GetChargePointModelParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-models/{chargePointModelId}"); + requestBuilder.WithPathParameter("chargePointModelId", parameters.ChargePointModelId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargePointModel>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointModelEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs new file mode 100644 index 00000000..36e00b95 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a charge point model. +/// Operation: GetChargePointModel. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointModelEndpointResult : EndpointResponse, IGetChargePointModelEndpointResult +{ + public GetChargePointModelEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public ChargePointModel OkContent + => IsOk && ContentObject is ChargePointModel result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs new file mode 100644 index 00000000..86555b63 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve list of charge point models. +/// Operation: GetChargePointModels. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointModelsEndpoint : IGetChargePointModelsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointModelsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointModelsEndpointResult> ExecuteAsync( + GetChargePointModelsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-point-models"); + requestBuilder.WithQueryParameter("search", parameters.Search); + requestBuilder.WithQueryParameter("brandId", parameters.BrandId); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargePointModelDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointModelsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs new file mode 100644 index 00000000..ad4dd814 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve list of charge point models. +/// Operation: GetChargePointModels. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointModelsEndpointResult : EndpointResponse, IGetChargePointModelsEndpointResult +{ + public GetChargePointModelsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargePointModelDto OkContent + => IsOk && ContentObject is MontaPageChargePointModelDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs new file mode 100644 index 00000000..40e18e7d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a charge point model. +/// Operation: GetChargePointModel. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointModelEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointModelEndpointResult> ExecuteAsync( + GetChargePointModelParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs new file mode 100644 index 00000000..8f8cafff --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a charge point model. +/// Operation: GetChargePointModel. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointModelEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + ChargePointModel OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs new file mode 100644 index 00000000..a9fadc9c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve list of charge point models. +/// Operation: GetChargePointModels. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointModelsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointModelsEndpointResult> ExecuteAsync( + GetChargePointModelsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs new file mode 100644 index 00000000..62c58114 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve list of charge point models. +/// Operation: GetChargePointModels. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointModelsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargePointModelDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs new file mode 100644 index 00000000..b76c3499 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing charge point. +/// Operation: DeleteChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargePointEndpoint : IDeleteChargePointEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteChargePointEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteChargePointEndpointResult> ExecuteAsync( + DeleteChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-points/{chargePointId}"); + requestBuilder.WithPathParameter("chargePointId", parameters.ChargePointId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new DeleteChargePointEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..6d475e0f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing charge point. +/// Operation: DeleteChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteChargePointEndpointResult : EndpointResponse, IDeleteChargePointEndpointResult +{ + public DeleteChargePointEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs new file mode 100644 index 00000000..e92d10ea --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single charge point. +/// Operation: GetChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointEndpoint : IGetChargePointEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointEndpointResult> ExecuteAsync( + GetChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-points/{chargePointId}"); + requestBuilder.WithPathParameter("chargePointId", parameters.ChargePointId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargePoint>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..f72dd146 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single charge point. +/// Operation: GetChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointEndpointResult : EndpointResponse, IGetChargePointEndpointResult +{ + public GetChargePointEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public ChargePoint OkContent + => IsOk && ContentObject is ChargePoint result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs new file mode 100644 index 00000000..916bd7a5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs @@ -0,0 +1,55 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve charge points / sites for map. +/// Operation: GetChargePointMap. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointMapEndpoint : IGetChargePointMapEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointMapEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointMapEndpointResult> ExecuteAsync( + GetChargePointMapParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-points/map"); + requestBuilder.WithQueryParameter("topLatitude", parameters.TopLatitude); + requestBuilder.WithQueryParameter("rightLongitude", parameters.RightLongitude); + requestBuilder.WithQueryParameter("bottomLatitude", parameters.BottomLatitude); + requestBuilder.WithQueryParameter("leftLongitude", parameters.LeftLongitude); + requestBuilder.WithQueryParameter("centerLatitude", parameters.CenterLatitude); + requestBuilder.WithQueryParameter("centerLongitude", parameters.CenterLongitude); + requestBuilder.WithQueryParameter("zoom", parameters.Zoom); + requestBuilder.WithQueryParameter("includeBusy", parameters.IncludeBusy); + requestBuilder.WithQueryParameter("includeAllOperators", parameters.IncludeAllOperators); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MapResult>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointMapEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs new file mode 100644 index 00000000..9be71c0a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve charge points / sites for map. +/// Operation: GetChargePointMap. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointMapEndpointResult : EndpointResponse, IGetChargePointMapEndpointResult +{ + public GetChargePointMapEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MapResult OkContent + => IsOk && ContentObject is MapResult result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs new file mode 100644 index 00000000..d9677fbc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs @@ -0,0 +1,54 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of charge points. +/// Operation: GetChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointsEndpoint : IGetChargePointsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargePointsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargePointsEndpointResult> ExecuteAsync( + GetChargePointsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-points"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("siteId", parameters.SiteId); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("partnerExternalId", parameters.PartnerExternalId); + requestBuilder.WithQueryParameter("sortByLocation", parameters.SortByLocation); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + requestBuilder.WithQueryParameter("state", parameters.State); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargePointDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetChargePointsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs new file mode 100644 index 00000000..396b9e48 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of charge points. +/// Operation: GetChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargePointsEndpointResult : EndpointResponse, IGetChargePointsEndpointResult +{ + public GetChargePointsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargePointDto OkContent + => IsOk && ContentObject is MontaPageChargePointDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs new file mode 100644 index 00000000..62a25174 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing charge point. +/// Operation: DeleteChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteChargePointEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteChargePointEndpointResult> ExecuteAsync( + DeleteChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..e1acf38d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing charge point. +/// Operation: DeleteChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteChargePointEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs new file mode 100644 index 00000000..e5874053 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single charge point. +/// Operation: GetChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointEndpointResult> ExecuteAsync( + GetChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..057c7cca --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single charge point. +/// Operation: GetChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + ChargePoint OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs new file mode 100644 index 00000000..667416ae --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve charge points / sites for map. +/// Operation: GetChargePointMap. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointMapEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointMapEndpointResult> ExecuteAsync( + GetChargePointMapParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs new file mode 100644 index 00000000..48ad99fa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve charge points / sites for map. +/// Operation: GetChargePointMap. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointMapEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MapResult OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs new file mode 100644 index 00000000..bac094aa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of charge points. +/// Operation: GetChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargePointsEndpointResult> ExecuteAsync( + GetChargePointsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs new file mode 100644 index 00000000..f49ea36e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of charge points. +/// Operation: GetChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargePointsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargePointDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs new file mode 100644 index 00000000..ebad56cf --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Patch an existing charge point. +/// Operation: PatchChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchChargePointEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchChargePointEndpointResult> ExecuteAsync( + PatchChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..656de616 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Patch an existing charge point. +/// Operation: PatchChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchChargePointEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + ChargePoint OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs new file mode 100644 index 00000000..9fd25cee --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create a charge point. +/// Operation: PostChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostChargePointEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostChargePointEndpointResult> ExecuteAsync( + PostChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..34cc002a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create a charge point. +/// Operation: PostChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostChargePointEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs new file mode 100644 index 00000000..b9c22558 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Patch an existing charge point. +/// Operation: PatchChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargePointEndpoint : IPatchChargePointEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchChargePointEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchChargePointEndpointResult> ExecuteAsync( + PatchChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-points/{chargePointId}"); + requestBuilder.WithPathParameter("chargePointId", parameters.ChargePointId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargePoint>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PatchChargePointEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..0c745b75 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Patch an existing charge point. +/// Operation: PatchChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargePointEndpointResult : EndpointResponse, IPatchChargePointEndpointResult +{ + public PatchChargePointEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public ChargePoint OkContent + => IsOk && ContentObject is ChargePoint result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs new file mode 100644 index 00000000..805e8816 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Create a charge point. +/// Operation: PostChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostChargePointEndpoint : IPostChargePointEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostChargePointEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostChargePointEndpointResult> ExecuteAsync( + PostChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charge-points"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PostChargePointEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..7880dd3d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Create a charge point. +/// Operation: PostChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostChargePointEndpointResult : EndpointResponse, IPostChargePointEndpointResult +{ + public PostChargePointEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs new file mode 100644 index 00000000..c470c550 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a charge price and cost breakdown. +/// Operation: GetChargeBreakdown. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeBreakdownEndpoint : IGetChargeBreakdownEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargeBreakdownEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargeBreakdownEndpointResult> ExecuteAsync( + GetChargeBreakdownParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charges/{chargeId}/breakdown"); + requestBuilder.WithPathParameter("chargeId", parameters.ChargeId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<ChargeBreakdown>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new GetChargeBreakdownEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs new file mode 100644 index 00000000..9a534c0a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a charge price and cost breakdown. +/// Operation: GetChargeBreakdown. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeBreakdownEndpointResult : EndpointResponse, IGetChargeBreakdownEndpointResult +{ + public GetChargeBreakdownEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public ChargeBreakdown OkContent + => IsOk && ContentObject is ChargeBreakdown result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs new file mode 100644 index 00000000..cff94057 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single charge. +/// Operation: GetCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeEndpoint : IGetChargeEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargeEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargeEndpointResult> ExecuteAsync( + GetChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charges/{chargeId}"); + requestBuilder.WithPathParameter("chargeId", parameters.ChargeId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Charge>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetChargeEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs new file mode 100644 index 00000000..02e9ba22 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single charge. +/// Operation: GetCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargeEndpointResult : EndpointResponse, IGetChargeEndpointResult +{ + public GetChargeEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public Charge OkContent + => IsOk && ContentObject is Charge result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs new file mode 100644 index 00000000..0e2220b8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of charges. +/// Operation: GetCharges. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargesEndpoint : IGetChargesEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetChargesEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetChargesEndpointResult> ExecuteAsync( + GetChargesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charges"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("chargePointId", parameters.ChargePointId); + requestBuilder.WithQueryParameter("siteId", parameters.SiteId); + requestBuilder.WithQueryParameter("state", parameters.State); + requestBuilder.WithQueryParameter("fromDate", parameters.FromDate); + requestBuilder.WithQueryParameter("toDate", parameters.ToDate); + requestBuilder.WithQueryParameter("chargeAuthType", parameters.ChargeAuthType); + requestBuilder.WithQueryParameter("chargeAuthId", parameters.ChargeAuthId); + requestBuilder.WithQueryParameter("partnerExternalId", parameters.PartnerExternalId); + requestBuilder.WithQueryParameter("operatorRole", parameters.OperatorRole); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargeDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetChargesEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs new file mode 100644 index 00000000..efc3658f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of charges. +/// Operation: GetCharges. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetChargesEndpointResult : EndpointResponse, IGetChargesEndpointResult +{ + public GetChargesEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargeDto OkContent + => IsOk && ContentObject is MontaPageChargeDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs new file mode 100644 index 00000000..6178703b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a charge price and cost breakdown. +/// Operation: GetChargeBreakdown. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargeBreakdownEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargeBreakdownEndpointResult> ExecuteAsync( + GetChargeBreakdownParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs new file mode 100644 index 00000000..e8e53dd3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a charge price and cost breakdown. +/// Operation: GetChargeBreakdown. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargeBreakdownEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + ChargeBreakdown OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs new file mode 100644 index 00000000..6d9c047a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single charge. +/// Operation: GetCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargeEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargeEndpointResult> ExecuteAsync( + GetChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs new file mode 100644 index 00000000..a56a63f1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single charge. +/// Operation: GetCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargeEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + Charge OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs new file mode 100644 index 00000000..59f50eb9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of charges. +/// Operation: GetCharges. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargesEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetChargesEndpointResult> ExecuteAsync( + GetChargesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs new file mode 100644 index 00000000..38a65666 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of charges. +/// Operation: GetCharges. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetChargesEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargeDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs new file mode 100644 index 00000000..5ef28438 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Patch an existing charge. +/// Operation: PatchCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchChargeEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchChargeEndpointResult> ExecuteAsync( + PatchChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs new file mode 100644 index 00000000..160b42bb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Patch an existing charge. +/// Operation: PatchCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchChargeEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + Charge OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs new file mode 100644 index 00000000..c0fa065c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Restart or start a reserved charge. +/// Operation: RestartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IRestartChargeEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<RestartChargeEndpointResult> ExecuteAsync( + RestartChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs new file mode 100644 index 00000000..3b3d8e0d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Restart or start a reserved charge. +/// Operation: RestartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IRestartChargeEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + Charge OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs new file mode 100644 index 00000000..2d854806 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Start a charge. +/// Operation: StartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IStartChargeEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<StartChargeEndpointResult> ExecuteAsync( + StartChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs new file mode 100644 index 00000000..fe37b616 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Start a charge. +/// Operation: StartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IStartChargeEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + Charge OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs new file mode 100644 index 00000000..054e4b96 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Stop a charge. +/// Operation: StopCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IStopChargeEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<StopChargeEndpointResult> ExecuteAsync( + StopChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs new file mode 100644 index 00000000..1628fc38 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Stop a charge. +/// Operation: StopCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IStopChargeEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + Charge OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs new file mode 100644 index 00000000..1228f7ec --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint. +/// Description: Patch an existing charge. +/// Operation: PatchCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargeEndpoint : IPatchChargeEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchChargeEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchChargeEndpointResult> ExecuteAsync( + PatchChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charges/{chargeId}"); + requestBuilder.WithPathParameter("chargeId", parameters.ChargeId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Charge>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PatchChargeEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs new file mode 100644 index 00000000..fc39412e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint result. +/// Description: Patch an existing charge. +/// Operation: PatchCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchChargeEndpointResult : EndpointResponse, IPatchChargeEndpointResult +{ + public PatchChargeEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public Charge OkContent + => IsOk && ContentObject is Charge result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs new file mode 100644 index 00000000..fa4a61bf --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint. +/// Description: Restart or start a reserved charge. +/// Operation: RestartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class RestartChargeEndpoint : IRestartChargeEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public RestartChargeEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<RestartChargeEndpointResult> ExecuteAsync( + RestartChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charges/{chargeId}/restart"); + requestBuilder.WithPathParameter("chargeId", parameters.ChargeId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Charge>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new RestartChargeEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs new file mode 100644 index 00000000..7118ce11 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint result. +/// Description: Restart or start a reserved charge. +/// Operation: RestartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class RestartChargeEndpointResult : EndpointResponse, IRestartChargeEndpointResult +{ + public RestartChargeEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public Charge OkContent + => IsOk && ContentObject is Charge result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs new file mode 100644 index 00000000..721816dc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint. +/// Description: Start a charge. +/// Operation: StartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class StartChargeEndpoint : IStartChargeEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public StartChargeEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<StartChargeEndpointResult> ExecuteAsync( + StartChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charges"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Charge>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new StartChargeEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs new file mode 100644 index 00000000..4e592ef7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint result. +/// Description: Start a charge. +/// Operation: StartCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class StartChargeEndpointResult : EndpointResponse, IStartChargeEndpointResult +{ + public StartChargeEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public Charge OkContent + => IsOk && ContentObject is Charge result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs new file mode 100644 index 00000000..bc79656c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint. +/// Description: Stop a charge. +/// Operation: StopCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class StopChargeEndpoint : IStopChargeEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public StopChargeEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<StopChargeEndpointResult> ExecuteAsync( + StopChargeParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/charges/{chargeId}/stop"); + requestBuilder.WithPathParameter("chargeId", parameters.ChargeId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Charge>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new StopChargeEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs new file mode 100644 index 00000000..f404b57a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; + +/// <summary> +/// Client Endpoint result. +/// Description: Stop a charge. +/// Operation: StopCharge. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class StopChargeEndpointResult : EndpointResponse, IStopChargeEndpointResult +{ + public StopChargeEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public Charge OkContent + => IsOk && ContentObject is Charge result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs new file mode 100644 index 00000000..715ce998 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Consumers; + +/// <summary> +/// Client Endpoint. +/// Description: Obtain information about current API Consumer. +/// Operation: GetCurrentConsumer. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCurrentConsumerEndpoint : IGetCurrentConsumerEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetCurrentConsumerEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetCurrentConsumerEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/consumers/me"); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Consumer>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetCurrentConsumerEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs new file mode 100644 index 00000000..9312b3aa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Consumers; + +/// <summary> +/// Client Endpoint result. +/// Description: Obtain information about current API Consumer. +/// Operation: GetCurrentConsumer. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCurrentConsumerEndpointResult : EndpointResponse, IGetCurrentConsumerEndpointResult +{ + public GetCurrentConsumerEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public Consumer OkContent + => IsOk && ContentObject is Consumer result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs new file mode 100644 index 00000000..e2e35b30 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Consumers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Obtain information about current API Consumer. +/// Operation: GetCurrentConsumer. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCurrentConsumerEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetCurrentConsumerEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs new file mode 100644 index 00000000..b8be520c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Consumers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Obtain information about current API Consumer. +/// Operation: GetCurrentConsumer. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCurrentConsumerEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + Consumer OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs new file mode 100644 index 00000000..d9c88f52 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Countries; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a countries. . +/// Operation: GetCountries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountriesEndpoint : IGetCountriesEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetCountriesEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetCountriesEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/countries"); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageCountryDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetCountriesEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs new file mode 100644 index 00000000..d44b164f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Countries; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a countries. . +/// Operation: GetCountries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountriesEndpointResult : EndpointResponse, IGetCountriesEndpointResult +{ + public GetCountriesEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageCountryDto OkContent + => IsOk && ContentObject is MontaPageCountryDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs new file mode 100644 index 00000000..58a4eb3f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Countries; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a country. +/// Operation: GetCountry. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountryEndpoint : IGetCountryEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetCountryEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetCountryEndpointResult> ExecuteAsync( + GetCountryParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/countries/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Country>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetCountryEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs new file mode 100644 index 00000000..3222ee0c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Countries; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a country. +/// Operation: GetCountry. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountryEndpointResult : EndpointResponse, IGetCountryEndpointResult +{ + public GetCountryEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public Country OkContent + => IsOk && ContentObject is Country result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs new file mode 100644 index 00000000..02ce96d2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a countries. . +/// Operation: GetCountries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCountriesEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetCountriesEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs new file mode 100644 index 00000000..19850c81 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a countries. . +/// Operation: GetCountries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCountriesEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageCountryDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs new file mode 100644 index 00000000..6309431b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a country. +/// Operation: GetCountry. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCountryEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetCountryEndpointResult> ExecuteAsync( + GetCountryParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs new file mode 100644 index 00000000..6b0b2136 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a country. +/// Operation: GetCountry. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCountryEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + Country OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs new file mode 100644 index 00000000..96320e72 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a country areas. +/// Operation: GetCountriesAreas. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountriesAreasEndpoint : IGetCountriesAreasEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetCountriesAreasEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetCountriesAreasEndpointResult> ExecuteAsync( + GetCountriesAreasParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/country-areas"); + requestBuilder.WithQueryParameter("countryId", parameters.CountryId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageCountryAreaDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetCountriesAreasEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs new file mode 100644 index 00000000..98d14f0c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a country areas. +/// Operation: GetCountriesAreas. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountriesAreasEndpointResult : EndpointResponse, IGetCountriesAreasEndpointResult +{ + public GetCountriesAreasEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public MontaPageCountryAreaDto OkContent + => IsOk && ContentObject is MontaPageCountryAreaDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs new file mode 100644 index 00000000..9667222b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a country area. +/// Operation: GetCountryArea. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountryAreaEndpoint : IGetCountryAreaEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetCountryAreaEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetCountryAreaEndpointResult> ExecuteAsync( + GetCountryAreaParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/country-areas/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<CountryArea>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetCountryAreaEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs new file mode 100644 index 00000000..ce6cfea9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a country area. +/// Operation: GetCountryArea. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCountryAreaEndpointResult : EndpointResponse, IGetCountryAreaEndpointResult +{ + public GetCountryAreaEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public CountryArea OkContent + => IsOk && ContentObject is CountryArea result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs new file mode 100644 index 00000000..50c52725 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a country areas. +/// Operation: GetCountriesAreas. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCountriesAreasEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetCountriesAreasEndpointResult> ExecuteAsync( + GetCountriesAreasParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs new file mode 100644 index 00000000..60399fba --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a country areas. +/// Operation: GetCountriesAreas. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCountriesAreasEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + MontaPageCountryAreaDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs new file mode 100644 index 00000000..fe136d03 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a country area. +/// Operation: GetCountryArea. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCountryAreaEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetCountryAreaEndpointResult> ExecuteAsync( + GetCountryAreaParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs new file mode 100644 index 00000000..3ffd9f5c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a country area. +/// Operation: GetCountryArea. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCountryAreaEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + CountryArea OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs new file mode 100644 index 00000000..22020541 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of currencies. +/// Operation: GetCurrencies. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCurrenciesEndpoint : IGetCurrenciesEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetCurrenciesEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetCurrenciesEndpointResult> ExecuteAsync( + GetCurrenciesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/currencies"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("identifier", parameters.Identifier); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageCurrencyDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetCurrenciesEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs new file mode 100644 index 00000000..899cd4f7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of currencies. +/// Operation: GetCurrencies. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCurrenciesEndpointResult : EndpointResponse, IGetCurrenciesEndpointResult +{ + public GetCurrenciesEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageCurrencyDto OkContent + => IsOk && ContentObject is MontaPageCurrencyDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs new file mode 100644 index 00000000..7555ca5a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single currency. +/// Operation: GetCurrency. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCurrencyEndpoint : IGetCurrencyEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetCurrencyEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetCurrencyEndpointResult> ExecuteAsync( + GetCurrencyParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/currencies/{currencyId}"); + requestBuilder.WithPathParameter("currencyId", parameters.CurrencyId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<CurrencyDto4>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetCurrencyEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs new file mode 100644 index 00000000..6496e658 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single currency. +/// Operation: GetCurrency. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetCurrencyEndpointResult : EndpointResponse, IGetCurrencyEndpointResult +{ + public GetCurrencyEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public CurrencyDto4 OkContent + => IsOk && ContentObject is CurrencyDto4 result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs new file mode 100644 index 00000000..ed6ce148 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of currencies. +/// Operation: GetCurrencies. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCurrenciesEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetCurrenciesEndpointResult> ExecuteAsync( + GetCurrenciesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs new file mode 100644 index 00000000..841b16f8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of currencies. +/// Operation: GetCurrencies. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCurrenciesEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageCurrencyDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs new file mode 100644 index 00000000..31b4d28d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single currency. +/// Operation: GetCurrency. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCurrencyEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetCurrencyEndpointResult> ExecuteAsync( + GetCurrencyParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs new file mode 100644 index 00000000..c7922ca5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single currency. +/// Operation: GetCurrency. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetCurrencyEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + CurrencyDto4 OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs new file mode 100644 index 00000000..50526e4b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Insights; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve insights about charge points. +/// Operation: GetInsightsChargesChargerReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInsightsChargesChargerReportEndpoint : IGetInsightsChargesChargerReportEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetInsightsChargesChargerReportEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetInsightsChargesChargerReportEndpointResult> ExecuteAsync( + GetInsightsChargesChargerReportParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/insights/charges/charger-report"); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("chargePointIds", parameters.ChargePointIds); + requestBuilder.WithQueryParameter("fromDate", parameters.FromDate); + requestBuilder.WithQueryParameter("toDate", parameters.ToDate); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargesInsightChargerReportDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetInsightsChargesChargerReportEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs new file mode 100644 index 00000000..6fdb7f1d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Insights; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve insights about charge points. +/// Operation: GetInsightsChargesChargerReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInsightsChargesChargerReportEndpointResult : EndpointResponse, IGetInsightsChargesChargerReportEndpointResult +{ + public GetInsightsChargesChargerReportEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargesInsightChargerReportDto OkContent + => IsOk && ContentObject is MontaPageChargesInsightChargerReportDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs new file mode 100644 index 00000000..37fc5bef --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Insights; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve insights about charges broken down by team members of a team. +/// Operation: GetInsightsChargesDriverReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInsightsChargesDriverReportEndpoint : IGetInsightsChargesDriverReportEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetInsightsChargesDriverReportEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetInsightsChargesDriverReportEndpointResult> ExecuteAsync( + GetInsightsChargesDriverReportParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/insights/charges/driver-report"); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("teamMemberIds", parameters.TeamMemberIds); + requestBuilder.WithQueryParameter("fromDate", parameters.FromDate); + requestBuilder.WithQueryParameter("toDate", parameters.ToDate); + requestBuilder.WithQueryParameter("datesFilteredBy", parameters.DatesFilteredBy); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageChargesInsightDriverReportDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetInsightsChargesDriverReportEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs new file mode 100644 index 00000000..1f3d015d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Insights; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve insights about charges broken down by team members of a team. +/// Operation: GetInsightsChargesDriverReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInsightsChargesDriverReportEndpointResult : EndpointResponse, IGetInsightsChargesDriverReportEndpointResult +{ + public GetInsightsChargesDriverReportEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageChargesInsightDriverReportDto OkContent + => IsOk && ContentObject is MontaPageChargesInsightDriverReportDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs new file mode 100644 index 00000000..661ee460 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve insights about charge points. +/// Operation: GetInsightsChargesChargerReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetInsightsChargesChargerReportEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetInsightsChargesChargerReportEndpointResult> ExecuteAsync( + GetInsightsChargesChargerReportParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs new file mode 100644 index 00000000..3ba7d12f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve insights about charge points. +/// Operation: GetInsightsChargesChargerReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetInsightsChargesChargerReportEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargesInsightChargerReportDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs new file mode 100644 index 00000000..c91e5b17 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve insights about charges broken down by team members of a team. +/// Operation: GetInsightsChargesDriverReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetInsightsChargesDriverReportEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetInsightsChargesDriverReportEndpointResult> ExecuteAsync( + GetInsightsChargesDriverReportParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs new file mode 100644 index 00000000..2e4ccf11 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve insights about charges broken down by team members of a team. +/// Operation: GetInsightsChargesDriverReport. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetInsightsChargesDriverReportEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageChargesInsightDriverReportDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs new file mode 100644 index 00000000..6618f777 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing installer job. +/// Operation: DeleteInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteInstallerJobEndpoint : IDeleteInstallerJobEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteInstallerJobEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteInstallerJobEndpointResult> ExecuteAsync( + DeleteInstallerJobParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/installer-jobs/{installerJobId}"); + requestBuilder.WithPathParameter("installerJobId", parameters.InstallerJobId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new DeleteInstallerJobEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs new file mode 100644 index 00000000..dc4fef2f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing installer job. +/// Operation: DeleteInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteInstallerJobEndpointResult : EndpointResponse, IDeleteInstallerJobEndpointResult +{ + public DeleteInstallerJobEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs new file mode 100644 index 00000000..04d3c762 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single installer job. +/// Operation: GetInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInstallerJobEndpoint : IGetInstallerJobEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetInstallerJobEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetInstallerJobEndpointResult> ExecuteAsync( + GetInstallerJobParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/installer-jobs/{installerJobId}"); + requestBuilder.WithPathParameter("installerJobId", parameters.InstallerJobId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<InstallerJob>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetInstallerJobEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs new file mode 100644 index 00000000..264644bd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single installer job. +/// Operation: GetInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInstallerJobEndpointResult : EndpointResponse, IGetInstallerJobEndpointResult +{ + public GetInstallerJobEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public InstallerJob OkContent + => IsOk && ContentObject is InstallerJob result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs new file mode 100644 index 00000000..368449d1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of installer jobs. +/// Operation: GetInstallerJobs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInstallerJobsEndpoint : IGetInstallerJobsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetInstallerJobsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetInstallerJobsEndpointResult> ExecuteAsync( + GetInstallerJobsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/installer-jobs"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("siteId", parameters.SiteId); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageInstallerJobDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetInstallerJobsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs new file mode 100644 index 00000000..867d7da0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of installer jobs. +/// Operation: GetInstallerJobs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetInstallerJobsEndpointResult : EndpointResponse, IGetInstallerJobsEndpointResult +{ + public GetInstallerJobsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageInstallerJobDto OkContent + => IsOk && ContentObject is MontaPageInstallerJobDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs new file mode 100644 index 00000000..32e49dc8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing installer job. +/// Operation: DeleteInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteInstallerJobEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteInstallerJobEndpointResult> ExecuteAsync( + DeleteInstallerJobParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs new file mode 100644 index 00000000..73bbcd11 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing installer job. +/// Operation: DeleteInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteInstallerJobEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs new file mode 100644 index 00000000..37a803a8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single installer job. +/// Operation: GetInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetInstallerJobEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetInstallerJobEndpointResult> ExecuteAsync( + GetInstallerJobParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs new file mode 100644 index 00000000..1783ae8b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single installer job. +/// Operation: GetInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetInstallerJobEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + InstallerJob OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs new file mode 100644 index 00000000..94302ea6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of installer jobs. +/// Operation: GetInstallerJobs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetInstallerJobsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetInstallerJobsEndpointResult> ExecuteAsync( + GetInstallerJobsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs new file mode 100644 index 00000000..26f384c3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of installer jobs. +/// Operation: GetInstallerJobs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetInstallerJobsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageInstallerJobDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs new file mode 100644 index 00000000..2bc1a70f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create an installer job. +/// Operation: PostInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostInstallerJobEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostInstallerJobEndpointResult> ExecuteAsync( + PostInstallerJobParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs new file mode 100644 index 00000000..c997cf88 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create an installer job. +/// Operation: PostInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostInstallerJobEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs new file mode 100644 index 00000000..20e65bd8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; + +/// <summary> +/// Client Endpoint. +/// Description: Create an installer job. +/// Operation: PostInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostInstallerJobEndpoint : IPostInstallerJobEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostInstallerJobEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostInstallerJobEndpointResult> ExecuteAsync( + PostInstallerJobParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/installer-jobs"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PostInstallerJobEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs new file mode 100644 index 00000000..0fb63f5a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; + +/// <summary> +/// Client Endpoint result. +/// Description: Create an installer job. +/// Operation: PostInstallerJob. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostInstallerJobEndpointResult : EndpointResponse, IPostInstallerJobEndpointResult +{ + public PostInstallerJobEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs new file mode 100644 index 00000000..84ed0d72 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Operators; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve an operator. +/// Operation: GetOperator. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetOperatorEndpoint : IGetOperatorEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetOperatorEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetOperatorEndpointResult> ExecuteAsync( + GetOperatorParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/operators/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Operator>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new GetOperatorEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs new file mode 100644 index 00000000..2197a458 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Operators; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve an operator. +/// Operation: GetOperator. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetOperatorEndpointResult : EndpointResponse, IGetOperatorEndpointResult +{ + public GetOperatorEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public Operator OkContent + => IsOk && ContentObject is Operator result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs new file mode 100644 index 00000000..70d221be --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Operators; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve operators. +/// Operation: GetOperators. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetOperatorsEndpoint : IGetOperatorsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetOperatorsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetOperatorsEndpointResult> ExecuteAsync( + GetOperatorsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/operators"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageOperatorDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetOperatorsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs new file mode 100644 index 00000000..035d9495 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Operators; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve operators. +/// Operation: GetOperators. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetOperatorsEndpointResult : EndpointResponse, IGetOperatorsEndpointResult +{ + public GetOperatorsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageOperatorDto OkContent + => IsOk && ContentObject is MontaPageOperatorDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs new file mode 100644 index 00000000..8512d162 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve an operator. +/// Operation: GetOperator. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetOperatorEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetOperatorEndpointResult> ExecuteAsync( + GetOperatorParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs new file mode 100644 index 00000000..a034130f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve an operator. +/// Operation: GetOperator. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetOperatorEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + Operator OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs new file mode 100644 index 00000000..5fdf5f8b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve operators. +/// Operation: GetOperators. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetOperatorsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetOperatorsEndpointResult> ExecuteAsync( + GetOperatorsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs new file mode 100644 index 00000000..bd9da59b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve operators. +/// Operation: GetOperators. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetOperatorsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageOperatorDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs new file mode 100644 index 00000000..74924e32 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single payment terminal. +/// Operation: GetPaymentTerminal. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPaymentTerminalEndpoint : IGetPaymentTerminalEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPaymentTerminalEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPaymentTerminalEndpointResult> ExecuteAsync( + GetPaymentTerminalParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/payment-terminals/{paymentTerminalId}"); + requestBuilder.WithPathParameter("paymentTerminalId", parameters.PaymentTerminalId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PaymentTerminal>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetPaymentTerminalEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs new file mode 100644 index 00000000..cfd93a86 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single payment terminal. +/// Operation: GetPaymentTerminal. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPaymentTerminalEndpointResult : EndpointResponse, IGetPaymentTerminalEndpointResult +{ + public GetPaymentTerminalEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public PaymentTerminal OkContent + => IsOk && ContentObject is PaymentTerminal result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs new file mode 100644 index 00000000..4446974e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of payment terminals. +/// Operation: GetPaymentTerminals. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPaymentTerminalsEndpoint : IGetPaymentTerminalsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPaymentTerminalsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPaymentTerminalsEndpointResult> ExecuteAsync( + GetPaymentTerminalsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/payment-terminals"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("serial", parameters.Serial); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPagePaymentTerminalDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetPaymentTerminalsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs new file mode 100644 index 00000000..919c0137 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of payment terminals. +/// Operation: GetPaymentTerminals. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPaymentTerminalsEndpointResult : EndpointResponse, IGetPaymentTerminalsEndpointResult +{ + public GetPaymentTerminalsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPagePaymentTerminalDto OkContent + => IsOk && ContentObject is MontaPagePaymentTerminalDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs new file mode 100644 index 00000000..10411bee --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single payment terminal. +/// Operation: GetPaymentTerminal. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPaymentTerminalEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPaymentTerminalEndpointResult> ExecuteAsync( + GetPaymentTerminalParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs new file mode 100644 index 00000000..dfb4b1ce --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single payment terminal. +/// Operation: GetPaymentTerminal. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPaymentTerminalEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + PaymentTerminal OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs new file mode 100644 index 00000000..8b39ce5f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of payment terminals. +/// Operation: GetPaymentTerminals. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPaymentTerminalsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPaymentTerminalsEndpointResult> ExecuteAsync( + GetPaymentTerminalsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs new file mode 100644 index 00000000..bd66bcc2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of payment terminals. +/// Operation: GetPaymentTerminals. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPaymentTerminalsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPagePaymentTerminalDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs new file mode 100644 index 00000000..37e84842 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Plans; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a plan. +/// Operation: GetPlan. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPlanEndpoint : IGetPlanEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPlanEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPlanEndpointResult> ExecuteAsync( + GetPlanParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/plans/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Plan>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetPlanEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs new file mode 100644 index 00000000..8fc27d0f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Plans; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a plan. +/// Operation: GetPlan. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPlanEndpointResult : EndpointResponse, IGetPlanEndpointResult +{ + public GetPlanEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public Plan OkContent + => IsOk && ContentObject is Plan result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs new file mode 100644 index 00000000..e6313a75 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Plans; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve plans. +/// Operation: GetPlans. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPlansEndpoint : IGetPlansEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPlansEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPlansEndpointResult> ExecuteAsync( + GetPlansParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/plans"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPagePlanDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetPlansEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs new file mode 100644 index 00000000..398d606a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Plans; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve plans. +/// Operation: GetPlans. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPlansEndpointResult : EndpointResponse, IGetPlansEndpointResult +{ + public GetPlansEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPagePlanDto OkContent + => IsOk && ContentObject is MontaPagePlanDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs new file mode 100644 index 00000000..0d118075 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a plan. +/// Operation: GetPlan. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPlanEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPlanEndpointResult> ExecuteAsync( + GetPlanParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs new file mode 100644 index 00000000..e3b8e4a1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a plan. +/// Operation: GetPlan. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPlanEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + Plan OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs new file mode 100644 index 00000000..f4503f87 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve plans. +/// Operation: GetPlans. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPlansEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPlansEndpointResult> ExecuteAsync( + GetPlansParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs new file mode 100644 index 00000000..5e6c5662 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve plans. +/// Operation: GetPlans. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPlansEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPagePlanDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs new file mode 100644 index 00000000..0f34f87e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing price group tag. +/// Operation: DeletePriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeletePriceGroupTagEndpoint : IDeletePriceGroupTagEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeletePriceGroupTagEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeletePriceGroupTagEndpointResult> ExecuteAsync( + DeletePriceGroupTagParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-group-tags/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<string?>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new DeletePriceGroupTagEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs new file mode 100644 index 00000000..96333514 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing price group tag. +/// Operation: DeletePriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeletePriceGroupTagEndpointResult : EndpointResponse, IDeletePriceGroupTagEndpointResult +{ + public DeletePriceGroupTagEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public string? OkContent + => IsOk && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs new file mode 100644 index 00000000..f5fe9262 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single price group tag. +/// Operation: GetPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupTagEndpoint : IGetPriceGroupTagEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPriceGroupTagEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPriceGroupTagEndpointResult> ExecuteAsync( + GetPriceGroupTagParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-group-tags/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PriceGroupTag>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetPriceGroupTagEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs new file mode 100644 index 00000000..9269700c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single price group tag. +/// Operation: GetPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupTagEndpointResult : EndpointResponse, IGetPriceGroupTagEndpointResult +{ + public GetPriceGroupTagEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public PriceGroupTag OkContent + => IsOk && ContentObject is PriceGroupTag result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs new file mode 100644 index 00000000..b4b0e26e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve price group tags. +/// Operation: GetPriceGroupTags. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupTagsEndpoint : IGetPriceGroupTagsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPriceGroupTagsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPriceGroupTagsEndpointResult> ExecuteAsync( + GetPriceGroupTagsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-group-tags"); + requestBuilder.WithQueryParameter("name", parameters.Name); + requestBuilder.WithQueryParameter("partnerExternalId", parameters.PartnerExternalId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPagePriceGroupTagDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetPriceGroupTagsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs new file mode 100644 index 00000000..dc578563 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve price group tags. +/// Operation: GetPriceGroupTags. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupTagsEndpointResult : EndpointResponse, IGetPriceGroupTagsEndpointResult +{ + public GetPriceGroupTagsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPagePriceGroupTagDto OkContent + => IsOk && ContentObject is MontaPagePriceGroupTagDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs new file mode 100644 index 00000000..186689f6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing price group tag. +/// Operation: DeletePriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeletePriceGroupTagEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeletePriceGroupTagEndpointResult> ExecuteAsync( + DeletePriceGroupTagParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs new file mode 100644 index 00000000..fb86d519 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing price group tag. +/// Operation: DeletePriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeletePriceGroupTagEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + string? OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs new file mode 100644 index 00000000..a15aa9e6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single price group tag. +/// Operation: GetPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPriceGroupTagEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPriceGroupTagEndpointResult> ExecuteAsync( + GetPriceGroupTagParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs new file mode 100644 index 00000000..93e87300 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single price group tag. +/// Operation: GetPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPriceGroupTagEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + PriceGroupTag OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs new file mode 100644 index 00000000..4378866a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve price group tags. +/// Operation: GetPriceGroupTags. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPriceGroupTagsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPriceGroupTagsEndpointResult> ExecuteAsync( + GetPriceGroupTagsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs new file mode 100644 index 00000000..d1fed3f2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve price group tags. +/// Operation: GetPriceGroupTags. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPriceGroupTagsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPagePriceGroupTagDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs new file mode 100644 index 00000000..bd43f594 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Update a price group tag. +/// Operation: PatchPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchPriceGroupTagEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchPriceGroupTagEndpointResult> ExecuteAsync( + PatchPriceGroupTagParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs new file mode 100644 index 00000000..ce59b493 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Update a price group tag. +/// Operation: PatchPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchPriceGroupTagEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + PriceGroupTag OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs new file mode 100644 index 00000000..e3070105 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create a price group tag. +/// Operation: PostPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostPriceGroupTagEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostPriceGroupTagEndpointResult> ExecuteAsync( + PostPriceGroupTagParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs new file mode 100644 index 00000000..dcf73c7c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create a price group tag. +/// Operation: PostPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostPriceGroupTagEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs new file mode 100644 index 00000000..6e7ffa85 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint. +/// Description: Update a price group tag. +/// Operation: PatchPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchPriceGroupTagEndpoint : IPatchPriceGroupTagEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchPriceGroupTagEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchPriceGroupTagEndpointResult> ExecuteAsync( + PatchPriceGroupTagParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-group-tags/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PriceGroupTag>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new PatchPriceGroupTagEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs new file mode 100644 index 00000000..c7f52a8c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint result. +/// Description: Update a price group tag. +/// Operation: PatchPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchPriceGroupTagEndpointResult : EndpointResponse, IPatchPriceGroupTagEndpointResult +{ + public PatchPriceGroupTagEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public PriceGroupTag OkContent + => IsOk && ContentObject is PriceGroupTag result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs new file mode 100644 index 00000000..281039aa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint. +/// Description: Create a price group tag. +/// Operation: PostPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostPriceGroupTagEndpoint : IPostPriceGroupTagEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostPriceGroupTagEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostPriceGroupTagEndpointResult> ExecuteAsync( + PostPriceGroupTagParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-group-tags"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new PostPriceGroupTagEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs new file mode 100644 index 00000000..b86fa5b6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; + +/// <summary> +/// Client Endpoint result. +/// Description: Create a price group tag. +/// Operation: PostPriceGroupTag. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostPriceGroupTagEndpointResult : EndpointResponse, IPostPriceGroupTagEndpointResult +{ + public PostPriceGroupTagEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..34240cc7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Apply price group to charge points, sites or team members. +/// Operation: ApplyPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ApplyPriceGroupEndpoint : IApplyPriceGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public ApplyPriceGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<ApplyPriceGroupEndpointResult> ExecuteAsync( + ApplyPriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-groups/{id}/apply"); + requestBuilder.WithPathParameter("id", parameters.Id); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Put); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PriceGroup>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new ApplyPriceGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..dac95636 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Apply price group to charge points, sites or team members. +/// Operation: ApplyPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ApplyPriceGroupEndpointResult : EndpointResponse, IApplyPriceGroupEndpointResult +{ + public ApplyPriceGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public PriceGroup OkContent + => IsOk && ContentObject is PriceGroup result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..df86b992 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Creates a price group. +/// Operation: CreatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreatePriceGroupEndpoint : ICreatePriceGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public CreatePriceGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<CreatePriceGroupEndpointResult> ExecuteAsync( + CreatePriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-groups"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new CreatePriceGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..29037f17 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Creates a price group. +/// Operation: CreatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreatePriceGroupEndpointResult : EndpointResponse, ICreatePriceGroupEndpointResult +{ + public CreatePriceGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..2d0b3c3d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Deletes a price group. +/// Operation: DeletePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeletePriceGroupEndpoint : IDeletePriceGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeletePriceGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeletePriceGroupEndpointResult> ExecuteAsync( + DeletePriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-groups/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new DeletePriceGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..e710efed --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Deletes a price group. +/// Operation: DeletePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeletePriceGroupEndpointResult : EndpointResponse, IDeletePriceGroupEndpointResult +{ + public DeletePriceGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..9b19d959 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a price group. +/// Operation: GetPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupEndpoint : IGetPriceGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPriceGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPriceGroupEndpointResult> ExecuteAsync( + GetPriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-groups/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PriceGroup>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetPriceGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..20ec986d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a price group. +/// Operation: GetPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupEndpointResult : EndpointResponse, IGetPriceGroupEndpointResult +{ + public GetPriceGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public PriceGroup OkContent + => IsOk && ContentObject is PriceGroup result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs new file mode 100644 index 00000000..764e8dc2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of price groups. +/// Operation: GetPriceGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupsEndpoint : IGetPriceGroupsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPriceGroupsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPriceGroupsEndpointResult> ExecuteAsync( + GetPriceGroupsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-groups"); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPagePriceGroupDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetPriceGroupsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs new file mode 100644 index 00000000..c3c08ff0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of price groups. +/// Operation: GetPriceGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPriceGroupsEndpointResult : EndpointResponse, IGetPriceGroupsEndpointResult +{ + public GetPriceGroupsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPagePriceGroupDto OkContent + => IsOk && ContentObject is MontaPagePriceGroupDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..9dcf960f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Apply price group to charge points, sites or team members. +/// Operation: ApplyPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IApplyPriceGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<ApplyPriceGroupEndpointResult> ExecuteAsync( + ApplyPriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..4fb85afd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Apply price group to charge points, sites or team members. +/// Operation: ApplyPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IApplyPriceGroupEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + PriceGroup OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..d082ff99 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Creates a price group. +/// Operation: CreatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreatePriceGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<CreatePriceGroupEndpointResult> ExecuteAsync( + CreatePriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..b5a56fad --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Creates a price group. +/// Operation: CreatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreatePriceGroupEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..22ac19bf --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Deletes a price group. +/// Operation: DeletePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeletePriceGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeletePriceGroupEndpointResult> ExecuteAsync( + DeletePriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..624aeb63 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Deletes a price group. +/// Operation: DeletePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeletePriceGroupEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..d0d592fc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a price group. +/// Operation: GetPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPriceGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPriceGroupEndpointResult> ExecuteAsync( + GetPriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..e6517600 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a price group. +/// Operation: GetPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPriceGroupEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + PriceGroup OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs new file mode 100644 index 00000000..d2d16736 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of price groups. +/// Operation: GetPriceGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPriceGroupsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPriceGroupsEndpointResult> ExecuteAsync( + GetPriceGroupsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs new file mode 100644 index 00000000..823bbd2c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of price groups. +/// Operation: GetPriceGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPriceGroupsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPagePriceGroupDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..c37707b3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Sets a price group as default. +/// Operation: SetDefaultPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ISetDefaultPriceGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<SetDefaultPriceGroupEndpointResult> ExecuteAsync( + SetDefaultPriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..982eb518 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Sets a price group as default. +/// Operation: SetDefaultPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ISetDefaultPriceGroupEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + PriceGroup OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..d9571c42 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Updates a price group. +/// Operation: UpdatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdatePriceGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<UpdatePriceGroupEndpointResult> ExecuteAsync( + UpdatePriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..83af8cb9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Updates a price group. +/// Operation: UpdatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdatePriceGroupEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + PriceGroup OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..0ebf920b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Sets a price group as default. +/// Operation: SetDefaultPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SetDefaultPriceGroupEndpoint : ISetDefaultPriceGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public SetDefaultPriceGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<SetDefaultPriceGroupEndpointResult> ExecuteAsync( + SetDefaultPriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-groups/{id}/default"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Put); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PriceGroup>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new SetDefaultPriceGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..7734cb08 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Sets a price group as default. +/// Operation: SetDefaultPriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class SetDefaultPriceGroupEndpointResult : EndpointResponse, ISetDefaultPriceGroupEndpointResult +{ + public SetDefaultPriceGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public PriceGroup OkContent + => IsOk && ContentObject is PriceGroup result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs new file mode 100644 index 00000000..4d47164f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Updates a price group. +/// Operation: UpdatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdatePriceGroupEndpoint : IUpdatePriceGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public UpdatePriceGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<UpdatePriceGroupEndpointResult> ExecuteAsync( + UpdatePriceGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/price-groups/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Put); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PriceGroup>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new UpdatePriceGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs new file mode 100644 index 00000000..774b2137 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Updates a price group. +/// Operation: UpdatePriceGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdatePriceGroupEndpointResult : EndpointResponse, IUpdatePriceGroupEndpointResult +{ + public UpdatePriceGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public PriceGroup OkContent + => IsOk && ContentObject is PriceGroup result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs new file mode 100644 index 00000000..0dcb878a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Prices; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve prices forecast. +/// Operation: GetPricesForecast. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPricesForecastEndpoint : IGetPricesForecastEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPricesForecastEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPricesForecastEndpointResult> ExecuteAsync( + GetPricesForecastParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/prices/forecast"); + requestBuilder.WithQueryParameter("chargePointId", parameters.ChargePointId); + requestBuilder.WithQueryParameter("priceGroupId", parameters.PriceGroupId); + requestBuilder.WithQueryParameter("teamMemberId", parameters.TeamMemberId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PricesForecast>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetPricesForecastEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs new file mode 100644 index 00000000..64244a29 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Prices; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve prices forecast. +/// Operation: GetPricesForecast. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPricesForecastEndpointResult : EndpointResponse, IGetPricesForecastEndpointResult +{ + public GetPricesForecastEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public PricesForecast OkContent + => IsOk && ContentObject is PricesForecast result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs new file mode 100644 index 00000000..6dbcccff --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Prices.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve prices forecast. +/// Operation: GetPricesForecast. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPricesForecastEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPricesForecastEndpointResult> ExecuteAsync( + GetPricesForecastParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs new file mode 100644 index 00000000..29a521c7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Prices.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve prices forecast. +/// Operation: GetPricesForecast. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPricesForecastEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + PricesForecast OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs new file mode 100644 index 00000000..f0bcf745 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing (charge) site. +/// Operation: DeleteSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSiteEndpoint : IDeleteSiteEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteSiteEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteSiteEndpointResult> ExecuteAsync( + DeleteSiteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sites/{siteId}"); + requestBuilder.WithPathParameter("siteId", parameters.SiteId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new DeleteSiteEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs new file mode 100644 index 00000000..d952aac3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing (charge) site. +/// Operation: DeleteSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSiteEndpointResult : EndpointResponse, IDeleteSiteEndpointResult +{ + public DeleteSiteEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs new file mode 100644 index 00000000..bcb97d32 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single (charge) site. +/// Operation: GetSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSiteEndpoint : IGetSiteEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetSiteEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetSiteEndpointResult> ExecuteAsync( + GetSiteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sites/{siteId}"); + requestBuilder.WithPathParameter("siteId", parameters.SiteId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Site>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetSiteEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs new file mode 100644 index 00000000..021cb2a9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single (charge) site. +/// Operation: GetSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSiteEndpointResult : EndpointResponse, IGetSiteEndpointResult +{ + public GetSiteEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public Site OkContent + => IsOk && ContentObject is Site result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs new file mode 100644 index 00000000..15868683 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve your (charge) sites. +/// Operation: GetSites. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSitesEndpoint : IGetSitesEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetSitesEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetSitesEndpointResult> ExecuteAsync( + GetSitesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sites"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("partnerExternalId", parameters.PartnerExternalId); + requestBuilder.WithQueryParameter("sortByLocation", parameters.SortByLocation); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageSiteDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetSitesEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs new file mode 100644 index 00000000..b69848b6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve your (charge) sites. +/// Operation: GetSites. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSitesEndpointResult : EndpointResponse, IGetSitesEndpointResult +{ + public GetSitesEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageSiteDto OkContent + => IsOk && ContentObject is MontaPageSiteDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs new file mode 100644 index 00000000..2b15d81b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing (charge) site. +/// Operation: DeleteSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteSiteEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteSiteEndpointResult> ExecuteAsync( + DeleteSiteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs new file mode 100644 index 00000000..c8bd605b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing (charge) site. +/// Operation: DeleteSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteSiteEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs new file mode 100644 index 00000000..b6704fc6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single (charge) site. +/// Operation: GetSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSiteEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetSiteEndpointResult> ExecuteAsync( + GetSiteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs new file mode 100644 index 00000000..abd83691 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single (charge) site. +/// Operation: GetSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSiteEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + Site OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs new file mode 100644 index 00000000..3f79c8d4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve your (charge) sites. +/// Operation: GetSites. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSitesEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetSitesEndpointResult> ExecuteAsync( + GetSitesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs new file mode 100644 index 00000000..b9a81106 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve your (charge) sites. +/// Operation: GetSites. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSitesEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageSiteDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs new file mode 100644 index 00000000..6a823330 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Patch an existing (charge) site. +/// Operation: PatchSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchSiteEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchSiteEndpointResult> ExecuteAsync( + PatchSiteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs new file mode 100644 index 00000000..a4d0583c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Patch an existing (charge) site. +/// Operation: PatchSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchSiteEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + Site OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs new file mode 100644 index 00000000..896a5f7d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create a (charge) site. +/// Operation: PostSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostSiteEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostSiteEndpointResult> ExecuteAsync( + PostSiteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs new file mode 100644 index 00000000..4b77e98d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create a (charge) site. +/// Operation: PostSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostSiteEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs new file mode 100644 index 00000000..042cd77a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint. +/// Description: Patch an existing (charge) site. +/// Operation: PatchSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchSiteEndpoint : IPatchSiteEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchSiteEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchSiteEndpointResult> ExecuteAsync( + PatchSiteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sites/{siteId}"); + requestBuilder.WithPathParameter("siteId", parameters.SiteId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Site>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PatchSiteEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs new file mode 100644 index 00000000..654a4f2e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint result. +/// Description: Patch an existing (charge) site. +/// Operation: PatchSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchSiteEndpointResult : EndpointResponse, IPatchSiteEndpointResult +{ + public PatchSiteEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public Site OkContent + => IsOk && ContentObject is Site result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs new file mode 100644 index 00000000..c9d46547 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint. +/// Description: Create a (charge) site. +/// Operation: PostSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostSiteEndpoint : IPostSiteEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostSiteEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostSiteEndpointResult> ExecuteAsync( + PostSiteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sites"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PostSiteEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs new file mode 100644 index 00000000..5cae3839 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; + +/// <summary> +/// Client Endpoint result. +/// Description: Create a (charge) site. +/// Operation: PostSite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostSiteEndpointResult : EndpointResponse, IPostSiteEndpointResult +{ + public PostSiteEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs new file mode 100644 index 00000000..7ed35fb9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing sponsored charge point. +/// Operation: DeleteSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSponsoredChargePointEndpoint : IDeleteSponsoredChargePointEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteSponsoredChargePointEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteSponsoredChargePointEndpointResult> ExecuteAsync( + DeleteSponsoredChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sponsored-charge-points/{sponsoredChargePointId}"); + requestBuilder.WithPathParameter("sponsoredChargePointId", parameters.SponsoredChargePointId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new DeleteSponsoredChargePointEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..b4e8d35d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing sponsored charge point. +/// Operation: DeleteSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSponsoredChargePointEndpointResult : EndpointResponse, IDeleteSponsoredChargePointEndpointResult +{ + public DeleteSponsoredChargePointEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs new file mode 100644 index 00000000..6cd2ea91 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single sponsored charge point. +/// Operation: GetSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSponsoredChargePointEndpoint : IGetSponsoredChargePointEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetSponsoredChargePointEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetSponsoredChargePointEndpointResult> ExecuteAsync( + GetSponsoredChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sponsored-charge-points/{sponsoredChargePointId}"); + requestBuilder.WithPathParameter("sponsoredChargePointId", parameters.SponsoredChargePointId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<SponsoredChargePoint>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetSponsoredChargePointEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..1fe5cb9f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single sponsored charge point. +/// Operation: GetSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSponsoredChargePointEndpointResult : EndpointResponse, IGetSponsoredChargePointEndpointResult +{ + public GetSponsoredChargePointEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public SponsoredChargePoint OkContent + => IsOk && ContentObject is SponsoredChargePoint result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs new file mode 100644 index 00000000..89974239 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of sponsored charge points. +/// Operation: GetSponsoredChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSponsoredChargePointsEndpoint : IGetSponsoredChargePointsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetSponsoredChargePointsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetSponsoredChargePointsEndpointResult> ExecuteAsync( + GetSponsoredChargePointsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sponsored-charge-points"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("chargePointId", parameters.ChargePointId); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageSponsoredChargePointDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetSponsoredChargePointsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs new file mode 100644 index 00000000..a3705d73 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of sponsored charge points. +/// Operation: GetSponsoredChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSponsoredChargePointsEndpointResult : EndpointResponse, IGetSponsoredChargePointsEndpointResult +{ + public GetSponsoredChargePointsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageSponsoredChargePointDto OkContent + => IsOk && ContentObject is MontaPageSponsoredChargePointDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs new file mode 100644 index 00000000..5de37615 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing sponsored charge point. +/// Operation: DeleteSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteSponsoredChargePointEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteSponsoredChargePointEndpointResult> ExecuteAsync( + DeleteSponsoredChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..1e689980 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing sponsored charge point. +/// Operation: DeleteSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteSponsoredChargePointEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs new file mode 100644 index 00000000..b06abb56 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single sponsored charge point. +/// Operation: GetSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSponsoredChargePointEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetSponsoredChargePointEndpointResult> ExecuteAsync( + GetSponsoredChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..cd8f5105 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single sponsored charge point. +/// Operation: GetSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSponsoredChargePointEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + SponsoredChargePoint OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs new file mode 100644 index 00000000..e72e68ed --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of sponsored charge points. +/// Operation: GetSponsoredChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSponsoredChargePointsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetSponsoredChargePointsEndpointResult> ExecuteAsync( + GetSponsoredChargePointsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs new file mode 100644 index 00000000..7e8e315d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of sponsored charge points. +/// Operation: GetSponsoredChargePoints. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSponsoredChargePointsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageSponsoredChargePointDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs new file mode 100644 index 00000000..f27144b0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Update a sponsored charge point. +/// Operation: PatchSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchSponsoredChargePointEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchSponsoredChargePointEndpointResult> ExecuteAsync( + PatchSponsoredChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..29e5553e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Update a sponsored charge point. +/// Operation: PatchSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchSponsoredChargePointEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + SponsoredChargePoint OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs new file mode 100644 index 00000000..b1c46ff9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create a sponsored charge point. +/// Operation: PostSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostSponsoredChargePointEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostSponsoredChargePointEndpointResult> ExecuteAsync( + PostSponsoredChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..a7d1e0aa --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create a sponsored charge point. +/// Operation: PostSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostSponsoredChargePointEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs new file mode 100644 index 00000000..0c04e685 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Update a sponsored charge point. +/// Operation: PatchSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchSponsoredChargePointEndpoint : IPatchSponsoredChargePointEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchSponsoredChargePointEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchSponsoredChargePointEndpointResult> ExecuteAsync( + PatchSponsoredChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sponsored-charge-points/{sponsoredChargePointId}"); + requestBuilder.WithPathParameter("sponsoredChargePointId", parameters.SponsoredChargePointId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<SponsoredChargePoint>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new PatchSponsoredChargePointEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..96000053 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Update a sponsored charge point. +/// Operation: PatchSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchSponsoredChargePointEndpointResult : EndpointResponse, IPatchSponsoredChargePointEndpointResult +{ + public PatchSponsoredChargePointEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public SponsoredChargePoint OkContent + => IsOk && ContentObject is SponsoredChargePoint result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs new file mode 100644 index 00000000..3b613121 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint. +/// Description: Create a sponsored charge point. +/// Operation: PostSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostSponsoredChargePointEndpoint : IPostSponsoredChargePointEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostSponsoredChargePointEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostSponsoredChargePointEndpointResult> ExecuteAsync( + PostSponsoredChargePointParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/sponsored-charge-points"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PostSponsoredChargePointEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs new file mode 100644 index 00000000..8bc62423 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; + +/// <summary> +/// Client Endpoint result. +/// Description: Create a sponsored charge point. +/// Operation: PostSponsoredChargePoint. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostSponsoredChargePointEndpointResult : EndpointResponse, IPostSponsoredChargePointEndpointResult +{ + public PostSponsoredChargePointEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs new file mode 100644 index 00000000..06f988bc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a subscription purchase. +/// Operation: GetSubscriptionPurchase. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionPurchaseEndpoint : IGetSubscriptionPurchaseEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetSubscriptionPurchaseEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetSubscriptionPurchaseEndpointResult> ExecuteAsync( + GetSubscriptionPurchaseParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/subscription-purchases/{subscriptionPurchaseId}"); + requestBuilder.WithPathParameter("subscriptionPurchaseId", parameters.SubscriptionPurchaseId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<SubscriptionPurchase>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetSubscriptionPurchaseEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs new file mode 100644 index 00000000..6cb6901e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a subscription purchase. +/// Operation: GetSubscriptionPurchase. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionPurchaseEndpointResult : EndpointResponse, IGetSubscriptionPurchaseEndpointResult +{ + public GetSubscriptionPurchaseEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public SubscriptionPurchase OkContent + => IsOk && ContentObject is SubscriptionPurchase result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs new file mode 100644 index 00000000..c6f342e0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of subscription purchases. +/// Operation: GetSubscriptionPurchases. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionPurchasesEndpoint : IGetSubscriptionPurchasesEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetSubscriptionPurchasesEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetSubscriptionPurchasesEndpointResult> ExecuteAsync( + GetSubscriptionPurchasesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/subscription-purchases"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("subscriptionId", parameters.SubscriptionId); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageSubscriptionPurchaseDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetSubscriptionPurchasesEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs new file mode 100644 index 00000000..0d322b01 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of subscription purchases. +/// Operation: GetSubscriptionPurchases. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionPurchasesEndpointResult : EndpointResponse, IGetSubscriptionPurchasesEndpointResult +{ + public GetSubscriptionPurchasesEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageSubscriptionPurchaseDto OkContent + => IsOk && ContentObject is MontaPageSubscriptionPurchaseDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs new file mode 100644 index 00000000..115c60c5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a subscription purchase. +/// Operation: GetSubscriptionPurchase. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSubscriptionPurchaseEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetSubscriptionPurchaseEndpointResult> ExecuteAsync( + GetSubscriptionPurchaseParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs new file mode 100644 index 00000000..bb600af0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a subscription purchase. +/// Operation: GetSubscriptionPurchase. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSubscriptionPurchaseEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + SubscriptionPurchase OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs new file mode 100644 index 00000000..9b870bb8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of subscription purchases. +/// Operation: GetSubscriptionPurchases. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSubscriptionPurchasesEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetSubscriptionPurchasesEndpointResult> ExecuteAsync( + GetSubscriptionPurchasesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs new file mode 100644 index 00000000..63b9d603 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of subscription purchases. +/// Operation: GetSubscriptionPurchases. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSubscriptionPurchasesEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageSubscriptionPurchaseDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs new file mode 100644 index 00000000..5d8f0761 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint. +/// Description: Approve subscription. +/// Operation: ApproveSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ApproveSubscriptionEndpoint : IApproveSubscriptionEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public ApproveSubscriptionEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<ApproveSubscriptionEndpointResult> ExecuteAsync( + ApproveSubscriptionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/subscriptions/{subscriptionId}/approve"); + requestBuilder.WithPathParameter("subscriptionId", parameters.SubscriptionId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Subscription>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new ApproveSubscriptionEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs new file mode 100644 index 00000000..48ff45bc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint result. +/// Description: Approve subscription. +/// Operation: ApproveSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ApproveSubscriptionEndpointResult : EndpointResponse, IApproveSubscriptionEndpointResult +{ + public ApproveSubscriptionEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public Subscription OkContent + => IsOk && ContentObject is Subscription result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs new file mode 100644 index 00000000..295d0c03 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint. +/// Description: Create subscription. +/// Operation: CreateSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateSubscriptionEndpoint : ICreateSubscriptionEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public CreateSubscriptionEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<CreateSubscriptionEndpointResult> ExecuteAsync( + CreateSubscriptionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/subscriptions"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new CreateSubscriptionEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs new file mode 100644 index 00000000..d96d522a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint result. +/// Description: Create subscription. +/// Operation: CreateSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateSubscriptionEndpointResult : EndpointResponse, ICreateSubscriptionEndpointResult +{ + public CreateSubscriptionEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs new file mode 100644 index 00000000..82c0c951 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint. +/// Description: Cancel subscription. +/// Operation: DeleteSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSubscriptionEndpoint : IDeleteSubscriptionEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteSubscriptionEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteSubscriptionEndpointResult> ExecuteAsync( + DeleteSubscriptionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/subscriptions/{subscriptionId}"); + requestBuilder.WithPathParameter("subscriptionId", parameters.SubscriptionId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new DeleteSubscriptionEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs new file mode 100644 index 00000000..550c9d76 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint result. +/// Description: Cancel subscription. +/// Operation: DeleteSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteSubscriptionEndpointResult : EndpointResponse, IDeleteSubscriptionEndpointResult +{ + public DeleteSubscriptionEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs new file mode 100644 index 00000000..497970a0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a subscription. +/// Operation: GetSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionEndpoint : IGetSubscriptionEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetSubscriptionEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetSubscriptionEndpointResult> ExecuteAsync( + GetSubscriptionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/subscriptions/{subscriptionId}"); + requestBuilder.WithPathParameter("subscriptionId", parameters.SubscriptionId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Subscription>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetSubscriptionEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs new file mode 100644 index 00000000..1d1e009d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a subscription. +/// Operation: GetSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionEndpointResult : EndpointResponse, IGetSubscriptionEndpointResult +{ + public GetSubscriptionEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public Subscription OkContent + => IsOk && ContentObject is Subscription result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs new file mode 100644 index 00000000..392fed83 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of subscriptions. +/// Operation: GetSubscriptions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionsEndpoint : IGetSubscriptionsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetSubscriptionsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetSubscriptionsEndpointResult> ExecuteAsync( + GetSubscriptionsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/subscriptions"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("planId", parameters.PlanId); + requestBuilder.WithQueryParameter("chargePointId", parameters.ChargePointId); + requestBuilder.WithQueryParameter("subscriptionPurchaseId", parameters.SubscriptionPurchaseId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageSubscriptionDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetSubscriptionsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs new file mode 100644 index 00000000..0d19b807 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of subscriptions. +/// Operation: GetSubscriptions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetSubscriptionsEndpointResult : EndpointResponse, IGetSubscriptionsEndpointResult +{ + public GetSubscriptionsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageSubscriptionDto OkContent + => IsOk && ContentObject is MontaPageSubscriptionDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs new file mode 100644 index 00000000..4e71cd8f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Approve subscription. +/// Operation: ApproveSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IApproveSubscriptionEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<ApproveSubscriptionEndpointResult> ExecuteAsync( + ApproveSubscriptionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs new file mode 100644 index 00000000..fee74448 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Approve subscription. +/// Operation: ApproveSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IApproveSubscriptionEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + Subscription OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs new file mode 100644 index 00000000..ad52ec02 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create subscription. +/// Operation: CreateSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateSubscriptionEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<CreateSubscriptionEndpointResult> ExecuteAsync( + CreateSubscriptionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs new file mode 100644 index 00000000..54308ee9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create subscription. +/// Operation: CreateSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateSubscriptionEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs new file mode 100644 index 00000000..50e06bb1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Cancel subscription. +/// Operation: DeleteSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteSubscriptionEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteSubscriptionEndpointResult> ExecuteAsync( + DeleteSubscriptionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs new file mode 100644 index 00000000..d5a8513e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Cancel subscription. +/// Operation: DeleteSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteSubscriptionEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs new file mode 100644 index 00000000..1c236520 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a subscription. +/// Operation: GetSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSubscriptionEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetSubscriptionEndpointResult> ExecuteAsync( + GetSubscriptionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs new file mode 100644 index 00000000..295a2d8c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a subscription. +/// Operation: GetSubscription. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSubscriptionEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + Subscription OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs new file mode 100644 index 00000000..83c8570f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of subscriptions. +/// Operation: GetSubscriptions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSubscriptionsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetSubscriptionsEndpointResult> ExecuteAsync( + GetSubscriptionsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs new file mode 100644 index 00000000..e382e9bc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of subscriptions. +/// Operation: GetSubscriptions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetSubscriptionsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageSubscriptionDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs new file mode 100644 index 00000000..0316f31b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Create a new Tariff Period Group. +/// Operation: CreateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffPeriodGroupEndpoint : ICreateTariffPeriodGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public CreateTariffPeriodGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<CreateTariffPeriodGroupEndpointResult> ExecuteAsync( + CreateTariffPeriodGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-period-groups"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new CreateTariffPeriodGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs new file mode 100644 index 00000000..248be31b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Create a new Tariff Period Group. +/// Operation: CreateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffPeriodGroupEndpointResult : EndpointResponse, ICreateTariffPeriodGroupEndpointResult +{ + public CreateTariffPeriodGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs new file mode 100644 index 00000000..da34a5e1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing Tariff Period Group, and all contained recurring periods and prices. +/// Operation: DeleteTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTariffPeriodGroupEndpoint : IDeleteTariffPeriodGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteTariffPeriodGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteTariffPeriodGroupEndpointResult> ExecuteAsync( + DeleteTariffPeriodGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-period-groups/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new DeleteTariffPeriodGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs new file mode 100644 index 00000000..c8eacf44 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing Tariff Period Group, and all contained recurring periods and prices. +/// Operation: DeleteTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTariffPeriodGroupEndpointResult : EndpointResponse, IDeleteTariffPeriodGroupEndpointResult +{ + public DeleteTariffPeriodGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs new file mode 100644 index 00000000..b7045e04 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve Tariff Period Groups by id. +/// Operation: GetPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPeriodGroupEndpoint : IGetPeriodGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPeriodGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPeriodGroupEndpointResult> ExecuteAsync( + GetPeriodGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-period-groups/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<TariffPeriodGroup>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetPeriodGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs new file mode 100644 index 00000000..de214cca --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve Tariff Period Groups by id. +/// Operation: GetPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPeriodGroupEndpointResult : EndpointResponse, IGetPeriodGroupEndpointResult +{ + public GetPeriodGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public TariffPeriodGroup OkContent + => IsOk && ContentObject is TariffPeriodGroup result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs new file mode 100644 index 00000000..dfd06190 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve Tariff Period Groups by tariff id. +/// Operation: GetPeriodGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPeriodGroupsEndpoint : IGetPeriodGroupsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetPeriodGroupsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetPeriodGroupsEndpointResult> ExecuteAsync( + GetPeriodGroupsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-period-groups"); + requestBuilder.WithQueryParameter("tariffId", parameters.TariffId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<IEnumerable<TariffPeriodGroup>>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetPeriodGroupsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs new file mode 100644 index 00000000..b5527f3c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve Tariff Period Groups by tariff id. +/// Operation: GetPeriodGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetPeriodGroupsEndpointResult : EndpointResponse, IGetPeriodGroupsEndpointResult +{ + public GetPeriodGroupsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public IEnumerable<TariffPeriodGroup> OkContent + => IsOk && ContentObject is IEnumerable<TariffPeriodGroup> result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs new file mode 100644 index 00000000..239ec374 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create a new Tariff Period Group. +/// Operation: CreateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateTariffPeriodGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<CreateTariffPeriodGroupEndpointResult> ExecuteAsync( + CreateTariffPeriodGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs new file mode 100644 index 00000000..829c6b64 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create a new Tariff Period Group. +/// Operation: CreateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateTariffPeriodGroupEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs new file mode 100644 index 00000000..ca8eac9c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing Tariff Period Group, and all contained recurring periods and prices. +/// Operation: DeleteTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteTariffPeriodGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteTariffPeriodGroupEndpointResult> ExecuteAsync( + DeleteTariffPeriodGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs new file mode 100644 index 00000000..f54c976c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing Tariff Period Group, and all contained recurring periods and prices. +/// Operation: DeleteTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteTariffPeriodGroupEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs new file mode 100644 index 00000000..904c35dc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve Tariff Period Groups by id. +/// Operation: GetPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPeriodGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPeriodGroupEndpointResult> ExecuteAsync( + GetPeriodGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs new file mode 100644 index 00000000..adee0d6c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve Tariff Period Groups by id. +/// Operation: GetPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPeriodGroupEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + TariffPeriodGroup OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs new file mode 100644 index 00000000..c4355feb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve Tariff Period Groups by tariff id. +/// Operation: GetPeriodGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPeriodGroupsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetPeriodGroupsEndpointResult> ExecuteAsync( + GetPeriodGroupsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs new file mode 100644 index 00000000..f9da9e61 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve Tariff Period Groups by tariff id. +/// Operation: GetPeriodGroups. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetPeriodGroupsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + IEnumerable<TariffPeriodGroup> OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs new file mode 100644 index 00000000..f4c837f8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Update existing Tariff Period Group. +/// Operation: UpdateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdateTariffPeriodGroupEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<UpdateTariffPeriodGroupEndpointResult> ExecuteAsync( + UpdateTariffPeriodGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs new file mode 100644 index 00000000..446ab15f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Update existing Tariff Period Group. +/// Operation: UpdateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdateTariffPeriodGroupEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + TariffPeriodGroup OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs new file mode 100644 index 00000000..101ffd8c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint. +/// Description: Update existing Tariff Period Group. +/// Operation: UpdateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffPeriodGroupEndpoint : IUpdateTariffPeriodGroupEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public UpdateTariffPeriodGroupEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<UpdateTariffPeriodGroupEndpointResult> ExecuteAsync( + UpdateTariffPeriodGroupParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-period-groups/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<TariffPeriodGroup>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new UpdateTariffPeriodGroupEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs new file mode 100644 index 00000000..f0496c0f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; + +/// <summary> +/// Client Endpoint result. +/// Description: Update existing Tariff Period Group. +/// Operation: UpdateTariffPeriodGroup. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffPeriodGroupEndpointResult : EndpointResponse, IUpdateTariffPeriodGroupEndpointResult +{ + public UpdateTariffPeriodGroupEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public TariffPeriodGroup OkContent + => IsOk && ContentObject is TariffPeriodGroup result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs new file mode 100644 index 00000000..263d12e9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint. +/// Description: Create new recurring period. +/// Operation: CreateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffRecurringPeriodsEndpoint : ICreateTariffRecurringPeriodsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public CreateTariffRecurringPeriodsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<CreateTariffRecurringPeriodsEndpointResult> ExecuteAsync( + CreateTariffRecurringPeriodsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-recurring-periods"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new CreateTariffRecurringPeriodsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs new file mode 100644 index 00000000..76c6f9d0 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint result. +/// Description: Create new recurring period. +/// Operation: CreateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffRecurringPeriodsEndpointResult : EndpointResponse, ICreateTariffRecurringPeriodsEndpointResult +{ + public CreateTariffRecurringPeriodsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs new file mode 100644 index 00000000..686151c3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing Tariff Recurring Period , and all contained prices. +/// Operation: DeleteTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTariffRecurringPeriodEndpoint : IDeleteTariffRecurringPeriodEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteTariffRecurringPeriodEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteTariffRecurringPeriodEndpointResult> ExecuteAsync( + DeleteTariffRecurringPeriodParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-recurring-periods/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new DeleteTariffRecurringPeriodEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs new file mode 100644 index 00000000..3c014552 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing Tariff Recurring Period , and all contained prices. +/// Operation: DeleteTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTariffRecurringPeriodEndpointResult : EndpointResponse, IDeleteTariffRecurringPeriodEndpointResult +{ + public DeleteTariffRecurringPeriodEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs new file mode 100644 index 00000000..276aaed7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a tariff recurring period. +/// Operation: GetTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffRecurringPeriodEndpoint : IGetTariffRecurringPeriodEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetTariffRecurringPeriodEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetTariffRecurringPeriodEndpointResult> ExecuteAsync( + GetTariffRecurringPeriodParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-recurring-periods/{periodId}"); + requestBuilder.WithPathParameter("periodId", parameters.PeriodId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<TariffRecurringPeriod>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetTariffRecurringPeriodEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs new file mode 100644 index 00000000..97882d06 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a tariff recurring period. +/// Operation: GetTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffRecurringPeriodEndpointResult : EndpointResponse, IGetTariffRecurringPeriodEndpointResult +{ + public GetTariffRecurringPeriodEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public TariffRecurringPeriod OkContent + => IsOk && ContentObject is TariffRecurringPeriod result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs new file mode 100644 index 00000000..da0c7ad4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve recurring periods. +/// Operation: GetTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffRecurringPeriodsEndpoint : IGetTariffRecurringPeriodsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetTariffRecurringPeriodsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetTariffRecurringPeriodsEndpointResult> ExecuteAsync( + GetTariffRecurringPeriodsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-recurring-periods"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("tariffId", parameters.TariffId); + requestBuilder.WithQueryParameter("tariffPeriodGroupId", parameters.TariffPeriodGroupId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<PageTariffRecurringPeriodDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetTariffRecurringPeriodsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs new file mode 100644 index 00000000..9495f726 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve recurring periods. +/// Operation: GetTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffRecurringPeriodsEndpointResult : EndpointResponse, IGetTariffRecurringPeriodsEndpointResult +{ + public GetTariffRecurringPeriodsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public PageTariffRecurringPeriodDto OkContent + => IsOk && ContentObject is PageTariffRecurringPeriodDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs new file mode 100644 index 00000000..a5d8343f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create new recurring period. +/// Operation: CreateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateTariffRecurringPeriodsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<CreateTariffRecurringPeriodsEndpointResult> ExecuteAsync( + CreateTariffRecurringPeriodsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs new file mode 100644 index 00000000..0d7eb30a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create new recurring period. +/// Operation: CreateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateTariffRecurringPeriodsEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs new file mode 100644 index 00000000..e42a9460 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing Tariff Recurring Period , and all contained prices. +/// Operation: DeleteTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteTariffRecurringPeriodEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteTariffRecurringPeriodEndpointResult> ExecuteAsync( + DeleteTariffRecurringPeriodParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs new file mode 100644 index 00000000..939430fd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing Tariff Recurring Period , and all contained prices. +/// Operation: DeleteTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteTariffRecurringPeriodEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs new file mode 100644 index 00000000..85a3c260 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a tariff recurring period. +/// Operation: GetTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTariffRecurringPeriodEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetTariffRecurringPeriodEndpointResult> ExecuteAsync( + GetTariffRecurringPeriodParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs new file mode 100644 index 00000000..95db3b1f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a tariff recurring period. +/// Operation: GetTariffRecurringPeriod. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTariffRecurringPeriodEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + TariffRecurringPeriod OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs new file mode 100644 index 00000000..9f333082 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve recurring periods. +/// Operation: GetTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTariffRecurringPeriodsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetTariffRecurringPeriodsEndpointResult> ExecuteAsync( + GetTariffRecurringPeriodsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs new file mode 100644 index 00000000..2877ab28 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve recurring periods. +/// Operation: GetTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTariffRecurringPeriodsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + PageTariffRecurringPeriodDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs new file mode 100644 index 00000000..375a20b2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Update existing recurring period. +/// Operation: UpdateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdateTariffRecurringPeriodsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<UpdateTariffRecurringPeriodsEndpointResult> ExecuteAsync( + UpdateTariffRecurringPeriodsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs new file mode 100644 index 00000000..3f22832e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Update existing recurring period. +/// Operation: UpdateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdateTariffRecurringPeriodsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + TariffRecurringPeriod OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs new file mode 100644 index 00000000..818b9fef --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint. +/// Description: Update existing recurring period. +/// Operation: UpdateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffRecurringPeriodsEndpoint : IUpdateTariffRecurringPeriodsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public UpdateTariffRecurringPeriodsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<UpdateTariffRecurringPeriodsEndpointResult> ExecuteAsync( + UpdateTariffRecurringPeriodsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariff-recurring-periods/{periodId}"); + requestBuilder.WithPathParameter("periodId", parameters.PeriodId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<TariffRecurringPeriod>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new UpdateTariffRecurringPeriodsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs new file mode 100644 index 00000000..92ab72f6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; + +/// <summary> +/// Client Endpoint result. +/// Description: Update existing recurring period. +/// Operation: UpdateTariffRecurringPeriods. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffRecurringPeriodsEndpointResult : EndpointResponse, IUpdateTariffRecurringPeriodsEndpointResult +{ + public UpdateTariffRecurringPeriodsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public TariffRecurringPeriod OkContent + => IsOk && ContentObject is TariffRecurringPeriod result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs new file mode 100644 index 00000000..def0acbc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint. +/// Description: Create a new Tariff. +/// Operation: CreateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffEndpoint : ICreateTariffEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public CreateTariffEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<CreateTariffEndpointResult> ExecuteAsync( + CreateTariffParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariffs"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new CreateTariffEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs new file mode 100644 index 00000000..490fb559 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint result. +/// Description: Create a new Tariff. +/// Operation: CreateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffEndpointResult : EndpointResponse, ICreateTariffEndpointResult +{ + public CreateTariffEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs new file mode 100644 index 00000000..1c910cc3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint. +/// Description: Create the prices for a given tariff within a given period of time. +/// Operation: CreateTariffPrices. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffPricesEndpoint : ICreateTariffPricesEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public CreateTariffPricesEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<CreateTariffPricesEndpointResult> ExecuteAsync( + CreateTariffPricesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariffs/{tariffId}/create-prices"); + requestBuilder.WithPathParameter("tariffId", parameters.TariffId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new CreateTariffPricesEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs new file mode 100644 index 00000000..ecb4d00a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint result. +/// Description: Create the prices for a given tariff within a given period of time. +/// Operation: CreateTariffPrices. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class CreateTariffPricesEndpointResult : EndpointResponse, ICreateTariffPricesEndpointResult +{ + public CreateTariffPricesEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs new file mode 100644 index 00000000..37ea355d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs @@ -0,0 +1,54 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve all tariffs. +/// Operation: GetAllTariffs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAllTariffsEndpoint : IGetAllTariffsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetAllTariffsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetAllTariffsEndpointResult> ExecuteAsync( + GetAllTariffsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariffs"); + requestBuilder.WithQueryParameter("countryId", parameters.CountryId); + requestBuilder.WithQueryParameter("countryAreaId", parameters.CountryAreaId); + requestBuilder.WithQueryParameter("externalId", parameters.ExternalId); + requestBuilder.WithQueryParameter("operatorId", parameters.OperatorId); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("zip", parameters.Zip); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<IEnumerable<TariffDto>>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetAllTariffsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs new file mode 100644 index 00000000..57dd1a15 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve all tariffs. +/// Operation: GetAllTariffs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetAllTariffsEndpointResult : EndpointResponse, IGetAllTariffsEndpointResult +{ + public GetAllTariffsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public IEnumerable<TariffDto> OkContent + => IsOk && ContentObject is IEnumerable<TariffDto> result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs new file mode 100644 index 00000000..8912b518 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve your tariff and prices. +/// Operation: GetTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffEndpoint : IGetTariffEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetTariffEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetTariffEndpointResult> ExecuteAsync( + GetTariffParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariffs/{tariffId}"); + requestBuilder.WithQueryParameter("start", parameters.Start); + requestBuilder.WithQueryParameter("end", parameters.End); + requestBuilder.WithPathParameter("tariffId", parameters.TariffId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<FullTariff>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetTariffEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs new file mode 100644 index 00000000..edb2333a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve your tariff and prices. +/// Operation: GetTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTariffEndpointResult : EndpointResponse, IGetTariffEndpointResult +{ + public GetTariffEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public FullTariff OkContent + => IsOk && ContentObject is FullTariff result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs new file mode 100644 index 00000000..57a92b32 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create a new Tariff. +/// Operation: CreateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateTariffEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<CreateTariffEndpointResult> ExecuteAsync( + CreateTariffParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs new file mode 100644 index 00000000..79921a7b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create a new Tariff. +/// Operation: CreateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateTariffEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs new file mode 100644 index 00000000..3a86a89d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create the prices for a given tariff within a given period of time. +/// Operation: CreateTariffPrices. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateTariffPricesEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<CreateTariffPricesEndpointResult> ExecuteAsync( + CreateTariffPricesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs new file mode 100644 index 00000000..d1594cd1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create the prices for a given tariff within a given period of time. +/// Operation: CreateTariffPrices. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface ICreateTariffPricesEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs new file mode 100644 index 00000000..bac00c4c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve all tariffs. +/// Operation: GetAllTariffs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetAllTariffsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetAllTariffsEndpointResult> ExecuteAsync( + GetAllTariffsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs new file mode 100644 index 00000000..39d99c26 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve all tariffs. +/// Operation: GetAllTariffs. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetAllTariffsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + IEnumerable<TariffDto> OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs new file mode 100644 index 00000000..63888f7d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve your tariff and prices. +/// Operation: GetTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTariffEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetTariffEndpointResult> ExecuteAsync( + GetTariffParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs new file mode 100644 index 00000000..54388a08 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve your tariff and prices. +/// Operation: GetTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTariffEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + FullTariff OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs new file mode 100644 index 00000000..b854c305 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Update an existing Tariff. +/// Operation: UpdateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdateTariffEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<UpdateTariffEndpointResult> ExecuteAsync( + UpdateTariffParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs new file mode 100644 index 00000000..0a0adc71 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Update an existing Tariff. +/// Operation: UpdateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdateTariffEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + TariffDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs new file mode 100644 index 00000000..c50c07c1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint. +/// Description: Update an existing Tariff. +/// Operation: UpdateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffEndpoint : IUpdateTariffEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public UpdateTariffEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<UpdateTariffEndpointResult> ExecuteAsync( + UpdateTariffParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/tariffs/{tariffId}"); + requestBuilder.WithPathParameter("tariffId", parameters.TariffId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Put); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<TariffDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new UpdateTariffEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs new file mode 100644 index 00000000..385208f1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; + +/// <summary> +/// Client Endpoint result. +/// Description: Update an existing Tariff. +/// Operation: UpdateTariff. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateTariffEndpointResult : EndpointResponse, IUpdateTariffEndpointResult +{ + public UpdateTariffEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public TariffDto OkContent + => IsOk && ContentObject is TariffDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs new file mode 100644 index 00000000..ca84d708 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing team member. +/// Operation: DeleteTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTeamMemberEndpoint : IDeleteTeamMemberEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteTeamMemberEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteTeamMemberEndpointResult> ExecuteAsync( + DeleteTeamMemberParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/team-members/{teamMemberId}"); + requestBuilder.WithPathParameter("teamMemberId", parameters.TeamMemberId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new DeleteTeamMemberEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs new file mode 100644 index 00000000..565f3832 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing team member. +/// Operation: DeleteTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTeamMemberEndpointResult : EndpointResponse, IDeleteTeamMemberEndpointResult +{ + public DeleteTeamMemberEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs new file mode 100644 index 00000000..120ca747 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a team member. +/// Operation: GetTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamMemberEndpoint : IGetTeamMemberEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetTeamMemberEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetTeamMemberEndpointResult> ExecuteAsync( + GetTeamMemberParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/team-members/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<TeamMemberDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetTeamMemberEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs new file mode 100644 index 00000000..8b8ec772 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a team member. +/// Operation: GetTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamMemberEndpointResult : EndpointResponse, IGetTeamMemberEndpointResult +{ + public GetTeamMemberEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public TeamMemberDto OkContent + => IsOk && ContentObject is TeamMemberDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs new file mode 100644 index 00000000..d7945517 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs @@ -0,0 +1,57 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of team members. +/// Operation: GetTeamMembers. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamMembersEndpoint : IGetTeamMembersEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetTeamMembersEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetTeamMembersEndpointResult> ExecuteAsync( + GetTeamMembersParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/team-members"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + requestBuilder.WithQueryParameter("role", parameters.Role); + requestBuilder.WithQueryParameter("state", parameters.State); + requestBuilder.WithQueryParameter("userId", parameters.UserId); + requestBuilder.WithQueryParameter("email", parameters.Email); + requestBuilder.WithQueryParameter("phone", parameters.Phone); + requestBuilder.WithQueryParameter("partnerExternalTeamId", parameters.PartnerExternalTeamId); + requestBuilder.WithQueryParameter("partnerExternalId", parameters.PartnerExternalId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageTeamMemberDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetTeamMembersEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs new file mode 100644 index 00000000..73530777 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of team members. +/// Operation: GetTeamMembers. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamMembersEndpointResult : EndpointResponse, IGetTeamMembersEndpointResult +{ + public GetTeamMembersEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageTeamMemberDto OkContent + => IsOk && ContentObject is MontaPageTeamMemberDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs new file mode 100644 index 00000000..3bef01fc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing team member. +/// Operation: DeleteTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteTeamMemberEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteTeamMemberEndpointResult> ExecuteAsync( + DeleteTeamMemberParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs new file mode 100644 index 00000000..1a693183 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing team member. +/// Operation: DeleteTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteTeamMemberEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs new file mode 100644 index 00000000..ee2968d1 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a team member. +/// Operation: GetTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTeamMemberEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetTeamMemberEndpointResult> ExecuteAsync( + GetTeamMemberParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs new file mode 100644 index 00000000..72d25b95 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a team member. +/// Operation: GetTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTeamMemberEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + TeamMemberDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs new file mode 100644 index 00000000..e993e1de --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of team members. +/// Operation: GetTeamMembers. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTeamMembersEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetTeamMembersEndpointResult> ExecuteAsync( + GetTeamMembersParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs new file mode 100644 index 00000000..868edfd7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of team members. +/// Operation: GetTeamMembers. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTeamMembersEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageTeamMemberDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs new file mode 100644 index 00000000..2382550e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Patch a team member. +/// Operation: PatchTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchTeamMemberEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchTeamMemberEndpointResult> ExecuteAsync( + PatchTeamMemberParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs new file mode 100644 index 00000000..6ea759de --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Patch a team member. +/// Operation: PatchTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchTeamMemberEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + TeamMemberDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs new file mode 100644 index 00000000..0c5aa47e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create (invite) a team member. +/// Operation: PostTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostTeamMemberEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostTeamMemberEndpointResult> ExecuteAsync( + PostTeamMemberParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs new file mode 100644 index 00000000..886a4c55 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create (invite) a team member. +/// Operation: PostTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostTeamMemberEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs new file mode 100644 index 00000000..6c7b323b --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Resend an invite to a team member and reset expiry date. +/// Operation: ResendTeamMemberInvite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IResendTeamMemberInviteEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<ResendTeamMemberInviteEndpointResult> ExecuteAsync( + ResendTeamMemberInviteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs new file mode 100644 index 00000000..635bb182 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Resend an invite to a team member and reset expiry date. +/// Operation: ResendTeamMemberInvite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IResendTeamMemberInviteEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + TeamMemberDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs new file mode 100644 index 00000000..d725e0c3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint. +/// Description: Patch a team member. +/// Operation: PatchTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTeamMemberEndpoint : IPatchTeamMemberEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchTeamMemberEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchTeamMemberEndpointResult> ExecuteAsync( + PatchTeamMemberParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/team-members/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<TeamMemberDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new PatchTeamMemberEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs new file mode 100644 index 00000000..60282562 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint result. +/// Description: Patch a team member. +/// Operation: PatchTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTeamMemberEndpointResult : EndpointResponse, IPatchTeamMemberEndpointResult +{ + public PatchTeamMemberEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public TeamMemberDto OkContent + => IsOk && ContentObject is TeamMemberDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs new file mode 100644 index 00000000..18add0b9 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint. +/// Description: Create (invite) a team member. +/// Operation: PostTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostTeamMemberEndpoint : IPostTeamMemberEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostTeamMemberEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostTeamMemberEndpointResult> ExecuteAsync( + PostTeamMemberParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/team-members"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PostTeamMemberEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs new file mode 100644 index 00000000..c16a6c21 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint result. +/// Description: Create (invite) a team member. +/// Operation: PostTeamMember. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostTeamMemberEndpointResult : EndpointResponse, IPostTeamMemberEndpointResult +{ + public PostTeamMemberEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs new file mode 100644 index 00000000..55816746 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint. +/// Description: Resend an invite to a team member and reset expiry date. +/// Operation: ResendTeamMemberInvite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ResendTeamMemberInviteEndpoint : IResendTeamMemberInviteEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public ResendTeamMemberInviteEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<ResendTeamMemberInviteEndpointResult> ExecuteAsync( + ResendTeamMemberInviteParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/team-members/{id}/resend-invite"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<TeamMemberDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new ResendTeamMemberInviteEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs new file mode 100644 index 00000000..0593b5a3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; + +/// <summary> +/// Client Endpoint result. +/// Description: Resend an invite to a team member and reset expiry date. +/// Operation: ResendTeamMemberInvite. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class ResendTeamMemberInviteEndpointResult : EndpointResponse, IResendTeamMemberInviteEndpointResult +{ + public ResendTeamMemberInviteEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public TeamMemberDto OkContent + => IsOk && ContentObject is TeamMemberDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs new file mode 100644 index 00000000..29867b69 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint. +/// Description: Delete an existing team. +/// Operation: DeleteTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTeamEndpoint : IDeleteTeamEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteTeamEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteTeamEndpointResult> ExecuteAsync( + DeleteTeamParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/teams/{teamId}"); + requestBuilder.WithPathParameter("teamId", parameters.TeamId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new DeleteTeamEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs new file mode 100644 index 00000000..653bd331 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete an existing team. +/// Operation: DeleteTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteTeamEndpointResult : EndpointResponse, IDeleteTeamEndpointResult +{ + public DeleteTeamEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs new file mode 100644 index 00000000..93da51cb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a team. +/// Operation: GetTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamEndpoint : IGetTeamEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetTeamEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetTeamEndpointResult> ExecuteAsync( + GetTeamParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/teams/{id}"); + requestBuilder.WithPathParameter("id", parameters.Id); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Team>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetTeamEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs new file mode 100644 index 00000000..52333c74 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a team. +/// Operation: GetTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamEndpointResult : EndpointResponse, IGetTeamEndpointResult +{ + public GetTeamEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public Team OkContent + => IsOk && ContentObject is Team result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs new file mode 100644 index 00000000..afc7cc97 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a list of teams. +/// Operation: GetTeams. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamsEndpoint : IGetTeamsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetTeamsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetTeamsEndpointResult> ExecuteAsync( + GetTeamsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/teams"); + requestBuilder.WithQueryParameter("partnerExternalId", parameters.PartnerExternalId); + requestBuilder.WithQueryParameter("includeDeleted", parameters.IncludeDeleted); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageTeamDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetTeamsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs new file mode 100644 index 00000000..b9f70055 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a list of teams. +/// Operation: GetTeams. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetTeamsEndpointResult : EndpointResponse, IGetTeamsEndpointResult +{ + public GetTeamsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageTeamDto OkContent + => IsOk && ContentObject is MontaPageTeamDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs new file mode 100644 index 00000000..8d209d09 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete an existing team. +/// Operation: DeleteTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteTeamEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteTeamEndpointResult> ExecuteAsync( + DeleteTeamParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs new file mode 100644 index 00000000..70e4c1f5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete an existing team. +/// Operation: DeleteTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteTeamEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs new file mode 100644 index 00000000..7fd16c41 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a team. +/// Operation: GetTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTeamEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetTeamEndpointResult> ExecuteAsync( + GetTeamParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs new file mode 100644 index 00000000..0b8568bb --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a team. +/// Operation: GetTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTeamEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + Team OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs new file mode 100644 index 00000000..93375cdd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a list of teams. +/// Operation: GetTeams. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTeamsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetTeamsEndpointResult> ExecuteAsync( + GetTeamsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs new file mode 100644 index 00000000..a02b985c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a list of teams. +/// Operation: GetTeams. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetTeamsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageTeamDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs new file mode 100644 index 00000000..c783a661 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Patch an existing team. +/// Operation: PatchTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchTeamEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchTeamEndpointResult> ExecuteAsync( + PatchTeamParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs new file mode 100644 index 00000000..44b7f9df --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Patch an existing team. +/// Operation: PatchTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchTeamEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + Team OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs new file mode 100644 index 00000000..8aa7f06a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Create a team. +/// Operation: PostTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostTeamEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostTeamEndpointResult> ExecuteAsync( + PostTeamParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs new file mode 100644 index 00000000..c3a7fb82 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Create a team. +/// Operation: PostTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostTeamEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs new file mode 100644 index 00000000..5b41fcf7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint. +/// Description: Patch an existing team. +/// Operation: PatchTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTeamEndpoint : IPatchTeamEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchTeamEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchTeamEndpointResult> ExecuteAsync( + PatchTeamParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/teams/{teamId}"); + requestBuilder.WithPathParameter("teamId", parameters.TeamId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Team>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PatchTeamEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs new file mode 100644 index 00000000..1e4885d3 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint result. +/// Description: Patch an existing team. +/// Operation: PatchTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTeamEndpointResult : EndpointResponse, IPatchTeamEndpointResult +{ + public PatchTeamEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public Team OkContent + => IsOk && ContentObject is Team result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs new file mode 100644 index 00000000..80f9e8b2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint. +/// Description: Create a team. +/// Operation: PostTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostTeamEndpoint : IPostTeamEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostTeamEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostTeamEndpointResult> ExecuteAsync( + PostTeamParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/teams"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PostTeamEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs new file mode 100644 index 00000000..0e2e3100 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; + +/// <summary> +/// Client Endpoint result. +/// Description: Create a team. +/// Operation: PostTeam. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostTeamEndpointResult : EndpointResponse, IPostTeamEndpointResult +{ + public PostTeamEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs new file mode 100644 index 00000000..1384c5c5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single wallet transaction. +/// Operation: GetWalletTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletTransactionEndpoint : IGetWalletTransactionEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetWalletTransactionEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetWalletTransactionEndpointResult> ExecuteAsync( + GetWalletTransactionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/wallet-transactions/{transactionId}"); + requestBuilder.WithPathParameter("transactionId", parameters.TransactionId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<WalletTransaction>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetWalletTransactionEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs new file mode 100644 index 00000000..c3f625dc --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single wallet transaction. +/// Operation: GetWalletTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletTransactionEndpointResult : EndpointResponse, IGetWalletTransactionEndpointResult +{ + public GetWalletTransactionEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public WalletTransaction OkContent + => IsOk && ContentObject is WalletTransaction result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs new file mode 100644 index 00000000..c1b501c7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve your wallet transactions. +/// Operation: GetWalletTransactions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletTransactionsEndpoint : IGetWalletTransactionsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetWalletTransactionsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetWalletTransactionsEndpointResult> ExecuteAsync( + GetWalletTransactionsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/wallet-transactions"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("fromDate", parameters.FromDate); + requestBuilder.WithQueryParameter("toDate", parameters.ToDate); + requestBuilder.WithQueryParameter("referenceId", parameters.ReferenceId); + requestBuilder.WithQueryParameter("referenceType", parameters.ReferenceType); + requestBuilder.WithQueryParameter("state", parameters.State); + requestBuilder.WithQueryParameter("group", parameters.Group); + requestBuilder.WithQueryParameter("partnerExternalId", parameters.PartnerExternalId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageWalletTransactionDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetWalletTransactionsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs new file mode 100644 index 00000000..7204960a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve your wallet transactions. +/// Operation: GetWalletTransactions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletTransactionsEndpointResult : EndpointResponse, IGetWalletTransactionsEndpointResult +{ + public GetWalletTransactionsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageWalletTransactionDto OkContent + => IsOk && ContentObject is MontaPageWalletTransactionDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs new file mode 100644 index 00000000..c3ff5777 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single wallet transaction. +/// Operation: GetWalletTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWalletTransactionEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetWalletTransactionEndpointResult> ExecuteAsync( + GetWalletTransactionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs new file mode 100644 index 00000000..fbfaeb16 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single wallet transaction. +/// Operation: GetWalletTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWalletTransactionEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + WalletTransaction OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs new file mode 100644 index 00000000..023e78e5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve your wallet transactions. +/// Operation: GetWalletTransactions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWalletTransactionsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetWalletTransactionsEndpointResult> ExecuteAsync( + GetWalletTransactionsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs new file mode 100644 index 00000000..385edb02 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve your wallet transactions. +/// Operation: GetWalletTransactions. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWalletTransactionsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageWalletTransactionDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs new file mode 100644 index 00000000..ec92b45c --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Patch an existing transaction. +/// Operation: PatchTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchTransactionEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PatchTransactionEndpointResult> ExecuteAsync( + PatchTransactionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs new file mode 100644 index 00000000..468fef52 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Patch an existing transaction. +/// Operation: PatchTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPatchTransactionEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + WalletTransaction OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs new file mode 100644 index 00000000..3a8e84d2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Post an operator adjustment transaction. +/// Operation: PostOperatorAdjustmentTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostOperatorAdjustmentTransactionEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<PostOperatorAdjustmentTransactionEndpointResult> ExecuteAsync( + PostOperatorAdjustmentTransactionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs new file mode 100644 index 00000000..b53aecbd --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Post an operator adjustment transaction. +/// Operation: PostOperatorAdjustmentTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IPostOperatorAdjustmentTransactionEndpointResult : IEndpointResponse +{ + + bool IsCreated { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + string? CreatedContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs new file mode 100644 index 00000000..e091660f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; + +/// <summary> +/// Client Endpoint. +/// Description: Patch an existing transaction. +/// Operation: PatchTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTransactionEndpoint : IPatchTransactionEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PatchTransactionEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PatchTransactionEndpointResult> ExecuteAsync( + PatchTransactionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/wallet-transactions/{transactionId}"); + requestBuilder.WithPathParameter("transactionId", parameters.TransactionId); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Patch); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<WalletTransaction>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PatchTransactionEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs new file mode 100644 index 00000000..69c86f27 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; + +/// <summary> +/// Client Endpoint result. +/// Description: Patch an existing transaction. +/// Operation: PatchTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PatchTransactionEndpointResult : EndpointResponse, IPatchTransactionEndpointResult +{ + public PatchTransactionEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public WalletTransaction OkContent + => IsOk && ContentObject is WalletTransaction result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs new file mode 100644 index 00000000..cb8dceab --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; + +/// <summary> +/// Client Endpoint. +/// Description: Post an operator adjustment transaction. +/// Operation: PostOperatorAdjustmentTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostOperatorAdjustmentTransactionEndpoint : IPostOperatorAdjustmentTransactionEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public PostOperatorAdjustmentTransactionEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<PostOperatorAdjustmentTransactionEndpointResult> ExecuteAsync( + PostOperatorAdjustmentTransactionParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/wallet-transactions/operator-adjustment-transaction"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Post); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Created); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + return await responseBuilder.BuildResponseAsync(x => new PostOperatorAdjustmentTransactionEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs new file mode 100644 index 00000000..4f5e6fc2 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; + +/// <summary> +/// Client Endpoint result. +/// Description: Post an operator adjustment transaction. +/// Operation: PostOperatorAdjustmentTransaction. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class PostOperatorAdjustmentTransactionEndpointResult : EndpointResponse, IPostOperatorAdjustmentTransactionEndpointResult +{ + public PostOperatorAdjustmentTransactionEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsCreated + => StatusCode == HttpStatusCode.Created; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public string? CreatedContent + => IsCreated && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsCreated property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs new file mode 100644 index 00000000..0e53cff8 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single wallet. +/// Operation: GetWallet. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletEndpoint : IGetWalletEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetWalletEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetWalletEndpointResult> ExecuteAsync( + GetWalletParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/wallets/{walletId}"); + requestBuilder.WithPathParameter("walletId", parameters.WalletId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<Wallet>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Forbidden); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetWalletEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs new file mode 100644 index 00000000..1673e96d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single wallet. +/// Operation: GetWallet. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletEndpointResult : EndpointResponse, IGetWalletEndpointResult +{ + public GetWalletEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsForbidden + => StatusCode == HttpStatusCode.Forbidden; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public Wallet OkContent + => IsOk && ContentObject is Wallet result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? ForbiddenContent + => IsForbidden && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsForbidden property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs new file mode 100644 index 00000000..7b2059a4 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve your wallets. +/// Operation: GetWallets. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletsEndpoint : IGetWalletsEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetWalletsEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetWalletsEndpointResult> ExecuteAsync( + GetWalletsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/wallets"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("teamId", parameters.TeamId); + requestBuilder.WithQueryParameter("operatorId", parameters.OperatorId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageWalletDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetWalletsEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs new file mode 100644 index 00000000..120fc396 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve your wallets. +/// Operation: GetWallets. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWalletsEndpointResult : EndpointResponse, IGetWalletsEndpointResult +{ + public GetWalletsEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageWalletDto OkContent + => IsOk && ContentObject is MontaPageWalletDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs new file mode 100644 index 00000000..e7e50f4e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single wallet. +/// Operation: GetWallet. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWalletEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetWalletEndpointResult> ExecuteAsync( + GetWalletParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs new file mode 100644 index 00000000..89a6d525 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single wallet. +/// Operation: GetWallet. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWalletEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsForbidden { get; } + + bool IsNotFound { get; } + + Wallet OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? ForbiddenContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs new file mode 100644 index 00000000..ff20656d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve your wallets. +/// Operation: GetWallets. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWalletsEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetWalletsEndpointResult> ExecuteAsync( + GetWalletsParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs new file mode 100644 index 00000000..d71b32b6 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve your wallets. +/// Operation: GetWallets. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWalletsEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageWalletDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs new file mode 100644 index 00000000..2a4c5e05 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint. +/// Description: Delete webhook config. +/// Operation: DeleteWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteWebhookConfigEndpoint : IDeleteWebhookConfigEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public DeleteWebhookConfigEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<DeleteWebhookConfigEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/webhooks/config"); + + using var requestMessage = requestBuilder.Build(HttpMethod.Delete); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NoContent); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new DeleteWebhookConfigEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs new file mode 100644 index 00000000..ebe25443 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint result. +/// Description: Delete webhook config. +/// Operation: DeleteWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class DeleteWebhookConfigEndpointResult : EndpointResponse, IDeleteWebhookConfigEndpointResult +{ + public DeleteWebhookConfigEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsNoContent + => StatusCode == HttpStatusCode.NoContent; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public string? NoContentContent + => IsNoContent && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNoContent property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs new file mode 100644 index 00000000..1c602dde --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint. +/// Description: Get your webhook config. +/// Operation: GetWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWebhookConfigEndpoint : IGetWebhookConfigEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetWebhookConfigEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetWebhookConfigEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/webhooks/config"); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<WebhookConfig>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetWebhookConfigEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs new file mode 100644 index 00000000..ae30784a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint result. +/// Description: Get your webhook config. +/// Operation: GetWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWebhookConfigEndpointResult : EndpointResponse, IGetWebhookConfigEndpointResult +{ + public GetWebhookConfigEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public WebhookConfig OkContent + => IsOk && ContentObject is WebhookConfig result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs new file mode 100644 index 00000000..62ba5805 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve a single webhook entry by id. +/// Operation: GetWebhookEntries1. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWebhookEntries1Endpoint : IGetWebhookEntries1Endpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetWebhookEntries1Endpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetWebhookEntries1EndpointResult> ExecuteAsync( + GetWebhookEntries1Parameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/webhooks/entries/{entryId}"); + requestBuilder.WithPathParameter("entryId", parameters.EntryId); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<WebhookEntry>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.NotFound); + return await responseBuilder.BuildResponseAsync(x => new GetWebhookEntries1EndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs new file mode 100644 index 00000000..4eac005d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs @@ -0,0 +1,53 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve a single webhook entry by id. +/// Operation: GetWebhookEntries1. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWebhookEntries1EndpointResult : EndpointResponse, IGetWebhookEntries1EndpointResult +{ + public GetWebhookEntries1EndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public bool IsNotFound + => StatusCode == HttpStatusCode.NotFound; + + public WebhookEntry OkContent + => IsOk && ContentObject is WebhookEntry result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); + + public string? NotFoundContent + => IsNotFound && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsNotFound property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs new file mode 100644 index 00000000..db2d1f1d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint. +/// Description: Retrieve webhook entries. +/// Operation: GetWebhookEntries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWebhookEntriesEndpoint : IGetWebhookEntriesEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public GetWebhookEntriesEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<GetWebhookEntriesEndpointResult> ExecuteAsync( + GetWebhookEntriesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/webhooks/entries"); + requestBuilder.WithQueryParameter("page", parameters.Page); + requestBuilder.WithQueryParameter("perPage", parameters.PerPage); + requestBuilder.WithQueryParameter("status", parameters.Status); + + using var requestMessage = requestBuilder.Build(HttpMethod.Get); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<MontaPageWebhookEntryDto>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new GetWebhookEntriesEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs new file mode 100644 index 00000000..61fb4615 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint result. +/// Description: Retrieve webhook entries. +/// Operation: GetWebhookEntries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class GetWebhookEntriesEndpointResult : EndpointResponse, IGetWebhookEntriesEndpointResult +{ + public GetWebhookEntriesEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public MontaPageWebhookEntryDto OkContent + => IsOk && ContentObject is MontaPageWebhookEntryDto result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs new file mode 100644 index 00000000..a47d4481 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Delete webhook config. +/// Operation: DeleteWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteWebhookConfigEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<DeleteWebhookConfigEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs new file mode 100644 index 00000000..0a85ebe5 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Delete webhook config. +/// Operation: DeleteWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IDeleteWebhookConfigEndpointResult : IEndpointResponse +{ + + bool IsNoContent { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + string? NoContentContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs new file mode 100644 index 00000000..fb54498d --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Get your webhook config. +/// Operation: GetWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWebhookConfigEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetWebhookConfigEndpointResult> ExecuteAsync( + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs new file mode 100644 index 00000000..8825e86a --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Get your webhook config. +/// Operation: GetWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWebhookConfigEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + WebhookConfig OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs new file mode 100644 index 00000000..825be58e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve a single webhook entry by id. +/// Operation: GetWebhookEntries1. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWebhookEntries1Endpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetWebhookEntries1EndpointResult> ExecuteAsync( + GetWebhookEntries1Parameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs new file mode 100644 index 00000000..5afb7993 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve a single webhook entry by id. +/// Operation: GetWebhookEntries1. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWebhookEntries1EndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + bool IsNotFound { get; } + + WebhookEntry OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } + + string? NotFoundContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs new file mode 100644 index 00000000..24ef4700 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Retrieve webhook entries. +/// Operation: GetWebhookEntries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWebhookEntriesEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<GetWebhookEntriesEndpointResult> ExecuteAsync( + GetWebhookEntriesParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs new file mode 100644 index 00000000..fb8e8d7e --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Retrieve webhook entries. +/// Operation: GetWebhookEntries. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IGetWebhookEntriesEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + MontaPageWebhookEntryDto OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs new file mode 100644 index 00000000..85628a01 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint. +/// Description: Update your webhook config. +/// Operation: UpdateWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdateWebhookConfigEndpoint +{ + /// <summary> + /// Execute method. + /// </summary> + /// <param name="parameters">The parameters.</param> + /// <param name="httpClientName">The http client name.</param> + /// <param name="cancellationToken">The cancellation token.</param> + Task<UpdateWebhookConfigEndpointResult> ExecuteAsync( + UpdateWebhookConfigParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs new file mode 100644 index 00000000..9496893f --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; + +/// <summary> +/// Interface for Client Endpoint Result. +/// Description: Update your webhook config. +/// Operation: UpdateWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public interface IUpdateWebhookConfigEndpointResult : IEndpointResponse +{ + + bool IsOk { get; } + + bool IsBadRequest { get; } + + bool IsUnauthorized { get; } + + WebhookConfig OkContent { get; } + + string? BadRequestContent { get; } + + string? UnauthorizedContent { get; } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs new file mode 100644 index 00000000..19c5ab63 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint. +/// Description: Update your webhook config. +/// Operation: UpdateWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateWebhookConfigEndpoint : IUpdateWebhookConfigEndpoint +{ + private readonly IHttpClientFactory factory; + private readonly IHttpMessageFactory httpMessageFactory; + + public UpdateWebhookConfigEndpoint( + IHttpClientFactory factory, + IHttpMessageFactory httpMessageFactory) + { + this.factory = factory; + this.httpMessageFactory = httpMessageFactory; + } + + public async Task<UpdateWebhookConfigEndpointResult> ExecuteAsync( + UpdateWebhookConfigParameters parameters, + string httpClientName = "MontaPartner-ApiClient", + CancellationToken cancellationToken = default) + { + var client = factory.CreateClient(httpClientName); + + var requestBuilder = httpMessageFactory.FromTemplate("/api/v1/webhooks/config"); + requestBuilder.WithBody(parameters.Request); + + using var requestMessage = requestBuilder.Build(HttpMethod.Put); + using var response = await client.SendAsync(requestMessage, cancellationToken); + + var responseBuilder = httpMessageFactory.FromResponse(response); + responseBuilder.AddSuccessResponse<WebhookConfig>(HttpStatusCode.OK); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.BadRequest); + responseBuilder.AddErrorResponse<ErrorResponse>(HttpStatusCode.Unauthorized); + return await responseBuilder.BuildResponseAsync(x => new UpdateWebhookConfigEndpointResult(x), cancellationToken); + } +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs new file mode 100644 index 00000000..b69f9a29 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// This code was auto-generated by ApiGenerator x.x.x.x. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +//------------------------------------------------------------------------------ +namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; + +/// <summary> +/// Client Endpoint result. +/// Description: Update your webhook config. +/// Operation: UpdateWebhookConfig. +/// </summary> +[GeneratedCode("ApiGenerator", "x.x.x.x")] +public class UpdateWebhookConfigEndpointResult : EndpointResponse, IUpdateWebhookConfigEndpointResult +{ + public UpdateWebhookConfigEndpointResult(EndpointResponse response) + : base(response) + { + } + + public bool IsOk + => StatusCode == HttpStatusCode.OK; + + public bool IsBadRequest + => StatusCode == HttpStatusCode.BadRequest; + + public bool IsUnauthorized + => StatusCode == HttpStatusCode.Unauthorized; + + public WebhookConfig OkContent + => IsOk && ContentObject is WebhookConfig result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsOk property first."); + + public string? BadRequestContent + => IsBadRequest && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsBadRequest property first."); + + public string? UnauthorizedContent + => IsUnauthorized && ContentObject is string result + ? result + : throw new InvalidOperationException("Content is not the expected type - please use the IsUnauthorized property first."); +} \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/GlobalUsings.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/GlobalUsings.verified.cs new file mode 100644 index 00000000..b5558914 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/GlobalUsings.verified.cs @@ -0,0 +1,80 @@ +global using System; +global using System.CodeDom.Compiler; +global using System.Collections.Generic; +global using System.ComponentModel.DataAnnotations; +global using System.Net; +global using System.Net.Http; +global using System.Runtime.Serialization; +global using System.Text.Json.Serialization; +global using System.Threading; +global using System.Threading.Tasks; + +global using Atc.Rest.Client; +global using Atc.Rest.Client.Builder; + +global using Microsoft.AspNetCore.Mvc; + +global using MontaPartner.ApiClient.Generated.Contracts; +global using MontaPartner.ApiClient.Generated.Contracts.Auth; +global using MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +global using MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; +global using MontaPartner.ApiClient.Generated.Contracts.ChargePointConnectors; +global using MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; +global using MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; +global using MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +global using MontaPartner.ApiClient.Generated.Contracts.Charges; +global using MontaPartner.ApiClient.Generated.Contracts.Countries; +global using MontaPartner.ApiClient.Generated.Contracts.CountryAreas; +global using MontaPartner.ApiClient.Generated.Contracts.Currencies; +global using MontaPartner.ApiClient.Generated.Contracts.Insights; +global using MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +global using MontaPartner.ApiClient.Generated.Contracts.Operators; +global using MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; +global using MontaPartner.ApiClient.Generated.Contracts.Plans; +global using MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +global using MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +global using MontaPartner.ApiClient.Generated.Contracts.Prices; +global using MontaPartner.ApiClient.Generated.Contracts.Sites; +global using MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +global using MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; +global using MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +global using MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; +global using MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +global using MontaPartner.ApiClient.Generated.Contracts.Tariffs; +global using MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +global using MontaPartner.ApiClient.Generated.Contracts.Teams; +global using MontaPartner.ApiClient.Generated.Contracts.Wallets; +global using MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +global using MontaPartner.ApiClient.Generated.Contracts.Webhooks; +global using MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Consumers.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Prices.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +global using MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs index d9624248..30b591aa 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs @@ -86,36 +86,39 @@ public async Task GenerateVerifyAndBuildForServerAllByScenario( } [Theory] - [InlineData("DemoSample", false)] - [InlineData("DemoSample", true)] - [InlineData("ExAllResponseTypes", false)] - [InlineData("ExAllResponseTypes", true)] - [InlineData("ExGenericPagination", false)] - [InlineData("ExGenericPagination", true)] - [InlineData("ExNsWithTask", false)] - [InlineData("ExNsWithTask", true)] - [InlineData("ExUsers", false)] - [InlineData("ExUsers", true)] - [InlineData("PetStore", false)] - [InlineData("PetStore", true)] + [InlineData("DemoSample", false, false)] + [InlineData("DemoSample", true, false)] + [InlineData("ExAllResponseTypes", false, false)] + [InlineData("ExAllResponseTypes", true, false)] + [InlineData("ExGenericPagination", false, false)] + [InlineData("ExGenericPagination", true, false)] + [InlineData("ExNsWithTask", false, false)] + [InlineData("ExNsWithTask", true, false)] + [InlineData("ExUsers", false, false)] + [InlineData("ExUsers", true, false)] + [InlineData("PetStore", false, false)] + [InlineData("PetStore", true, false)] + [InlineData("MontaPartner", false, true)] public async Task GenerateVerifyAndBuildForClientCSharpByScenario( string scenarioName, - bool useProblemDetailsAsDefaultResponseBody) + bool useProblemDetailsAsDefaultResponseBody, + bool useCustomErrorResponseModel) { // Arrange var scenarioPath = CollectScenarioPaths().First(x => x.Name == scenarioName); var specificationFile = GetYamlSpecificationPath(scenarioPath.FullName); + var optionsFile = GetApiGeneratorOptionsPath(scenarioPath.FullName); - var outputPath = GetOutputPath(WorkingPath, scenarioPath, aspNetOutputType: null, useProblemDetailsAsDefaultResponseBody); + var outputPath = GetOutputPath(WorkingPath, scenarioPath, aspNetOutputType: null, useProblemDetailsAsDefaultResponseBody, useCustomErrorResponseModel); if (Directory.Exists(outputPath.FullName)) { Directory.Delete(outputPath.FullName, recursive: true); } // Act & Assert - await AssertGenerateForClientCSharp(outputPath, scenarioPath, specificationFile, useProblemDetailsAsDefaultResponseBody); - await AssertVerifyCsFilesForClientCSharp(outputPath, scenarioPath, useProblemDetailsAsDefaultResponseBody); + await AssertGenerateForClientCSharp(outputPath, scenarioPath, specificationFile, optionsFile, useProblemDetailsAsDefaultResponseBody, useCustomErrorResponseModel); + await AssertVerifyCsFilesForClientCSharp(outputPath, scenarioPath, useProblemDetailsAsDefaultResponseBody, useCustomErrorResponseModel); } ////[Fact] @@ -352,7 +355,9 @@ private static async Task AssertGenerateForClientCSharp( DirectoryInfo outputPath, DirectoryInfo scenarioPath, FileInfo specificationFile, - bool useProblemDetailsAsDefaultResponseBody) + FileInfo? optionsFile, + bool useProblemDetailsAsDefaultResponseBody, + bool useCustomErrorResponseModel) { var sbCommands = new StringBuilder(); sbCommands.Append("generate client csharp"); @@ -362,9 +367,18 @@ private static async Task AssertGenerateForClientCSharp( sbCommands.Append(scenarioPath.Name); sbCommands.Append(" --outputPath "); sbCommands.Append(Path.Combine(outputPath.FullName, "src")); - if (useProblemDetailsAsDefaultResponseBody) + if (!useCustomErrorResponseModel) { - sbCommands.Append(" --useProblemDetailsAsDefaultResponseBody"); + if (useProblemDetailsAsDefaultResponseBody) + { + sbCommands.Append(" --useProblemDetailsAsDefaultResponseBody"); + } + } + + if (optionsFile is not null) + { + sbCommands.Append(" --optionsPath "); + sbCommands.Append(optionsFile.FullName); } sbCommands.Append(" --verbose"); @@ -389,11 +403,20 @@ private static async Task AssertGenerateForClientCSharp( private static async Task AssertVerifyCsFilesForClientCSharp( DirectoryInfo outputPath, DirectoryInfo scenarioPath, - bool useProblemDetailsAsDefaultResponseBody) + bool useProblemDetailsAsDefaultResponseBody, + bool useCustomErrorResponseModel) { - var suffix = useProblemDetailsAsDefaultResponseBody - ? "WPD" - : "WOPD"; + var suffix = string.Empty; + if (useCustomErrorResponseModel) + { + suffix = "WCEM"; + } + else + { + suffix = useProblemDetailsAsDefaultResponseBody + ? "WPD" + : "WOPD"; + } var verifyPath = new DirectoryInfo(Path.Combine(scenarioPath.FullName, "VerifyClient", suffix)); From 05caa7ba07077eb64998a4ec1f04dba0eded736a Mon Sep 17 00:00:00 2001 From: David Kallesen <david@lmdk.dk> Date: Mon, 1 Jul 2024 20:57:36 +0200 Subject: [PATCH 4/9] feat: Improve EnsureFormatForDocumentationTag for spaces on new lines --- .../Extensions/StringExtensions.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/StringExtensions.cs b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/StringExtensions.cs index 1f69c2c3..801e91d3 100644 --- a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/StringExtensions.cs +++ b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/StringExtensions.cs @@ -1,3 +1,5 @@ +using System.Numerics; + namespace Atc.Rest.ApiGenerator.OpenApi.Extensions; public static class StringExtensions @@ -40,6 +42,22 @@ public static string EnsureFormatForDocumentationTag( value = value[..^1]; } + if (value.Contains("\n", StringComparison.Ordinal)) + { + var lines = value.ToLines(); + var sb = new StringBuilder(); + foreach (var line in lines) + { + sb.AppendLine(line.Trim()); + } + + value = sb.ToString(); + } + else + { + value = value.Trim(); + } + return value.EnsureEndsWithDot(); } } \ No newline at end of file From a26a951e6ecc55f2d6a3cb0086dc7a798e6db1d9 Mon Sep 17 00:00:00 2001 From: David Kallesen <david@lmdk.dk> Date: Mon, 1 Jul 2024 20:58:12 +0200 Subject: [PATCH 5/9] fix: hideing customErrorResponseModel --- .../ProjectGenerator/ClientCSharpApiGenerator.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs b/src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs index 014914bb..0e3a7c2b 100644 --- a/src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs +++ b/src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs @@ -110,7 +110,7 @@ public async Task ScaffoldProjectFile() public void GenerateModels() { - GenerateCustomErrorResponseModel(customErrorResponseModel); + GenerateCustomErrorResponseModel(); foreach (var apiGroupName in openApiDocument.GetApiGroupNames()) { @@ -526,8 +526,7 @@ private void GenerateModel( content); } - private void GenerateCustomErrorResponseModel( - CustomErrorResponseModel? customErrorResponseModel) + private void GenerateCustomErrorResponseModel() { if (customErrorResponseModel is null || string.IsNullOrEmpty(customErrorResponseModel.Name)) From 034cbbb751ec57abecce709155c6029a71741486 Mon Sep 17 00:00:00 2001 From: David Kallesen <david@lmdk.dk> Date: Tue, 2 Jul 2024 00:20:21 +0200 Subject: [PATCH 6/9] feat: Improve EnsureFormatForDocumentationTag and fix seneario-test verify files --- .../Extensions/StringExtensions.cs | 15 +++++++++++---- .../ChargeAuthTokens/ChargeAuthToken.verified.cs | 3 +-- .../CreateChargeAuthToken.verified.cs | 3 +-- .../PatchChargeAuthToken.verified.cs | 1 - .../ChargePoints/CreateChargePoint.verified.cs | 2 -- .../ChargePoints/PatchChargePoint.verified.cs | 1 - .../Contracts/Charges/Charge.verified.cs | 3 +-- .../Charges/StartChargeRequest.verified.cs | 1 - ...sInsightDriverReportDtoConsumption.verified.cs | 1 - .../GetSitesParameters.verified.cs | 3 +-- .../Subscriptions/CreateSubscription.verified.cs | 2 -- .../WalletTransaction.verified.cs | 1 - 12 files changed, 15 insertions(+), 21 deletions(-) diff --git a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/StringExtensions.cs b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/StringExtensions.cs index 801e91d3..9bc7e741 100644 --- a/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/StringExtensions.cs +++ b/src/Atc.Rest.ApiGenerator.OpenApi/Extensions/StringExtensions.cs @@ -1,5 +1,3 @@ -using System.Numerics; - namespace Atc.Rest.ApiGenerator.OpenApi.Extensions; public static class StringExtensions @@ -42,13 +40,17 @@ public static string EnsureFormatForDocumentationTag( value = value[..^1]; } - if (value.Contains("\n", StringComparison.Ordinal)) + if (value.Contains('\n', StringComparison.Ordinal)) { var lines = value.ToLines(); var sb = new StringBuilder(); foreach (var line in lines) { - sb.AppendLine(line.Trim()); + var trimmedLine = line.Trim(); + if (trimmedLine.Length > 0) + { + sb.AppendLine(trimmedLine); + } } value = sb.ToString(); @@ -58,6 +60,11 @@ public static string EnsureFormatForDocumentationTag( value = value.Trim(); } + if (value.EndsWith(Environment.NewLine, StringComparison.Ordinal)) + { + value = value[..^Environment.NewLine.Length]; + } + return value.EnsureEndsWithDot(); } } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs index a4f18d6e..9ee27984 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs @@ -79,8 +79,7 @@ public class ChargeAuthToken /// <summary> /// If the charge auth token is blocked, it will not be able to charge. /// * `null` = not blocked - /// * date-time = blocked since date-time - /// . + /// * date-time = blocked since date-time. /// </summary> public DateTimeOffset? BlockedAt { get; set; } diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs index fb63b30b..4965d32d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs @@ -64,8 +64,7 @@ public class CreateChargeAuthToken /// <summary> /// If the charge auth token is blocked, it will not be able to charge. /// * `null` = not blocked - /// * date-time = blocked since date-time - /// . + /// * date-time = blocked since date-time. /// </summary> public DateTimeOffset? BlockedAt { get; set; } diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs index 2047e33c..d8527f2d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs @@ -47,7 +47,6 @@ public class PatchChargeAuthToken /// <summary> /// Indicates until when this charge auth token is active, null means indefinitely. /// Note: Use `../block` and `../unblock` endpoints to (un)block a charge auth token. - /// . /// </summary> public DateTimeOffset? ActiveUntil { get; set; } diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs index 20918672..aedfec1b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs @@ -61,14 +61,12 @@ public class CreateChargePoint /// Indicates the charge point should be displayed on map. /// By setting this to false, the charge point will not be shown on the app's map, /// but will still be fully functional for users of the charge point. - /// . /// </summary> public bool? ShowOnMap { get; set; } = true; /// <summary> /// Ids of the connectors this charge point support, /// When not present the provide charge point model connectors will be used instead. - /// . /// </summary> public List<long>? ConnectorIds { get; set; } = new List<long>(); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs index f6032b2d..a7b195fb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs @@ -43,7 +43,6 @@ public class PatchChargePoint /// Indicates the charge point should be displayed on map. /// By setting this to false, the charge point will not be shown on the app's map, /// but will still be fully functional for users of the charge point. - /// . /// </summary> public bool? ShowOnMap { get; set; } = true; diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs index 453beb76..0618d566 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs @@ -40,8 +40,7 @@ public class Charge /// <summary> /// Id of the price group related to this charge. Note: The underlying price/costGroup models can change and you have - /// to use other fields to get the historic data (costBreakdown, priceBreakdown, price) - /// . + /// to use other fields to get the historic data (costBreakdown, priceBreakdown, price). /// </summary> public long PriceGroupId { get; set; } diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs index 40ff81c3..15cf68c3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs @@ -27,7 +27,6 @@ public class StartChargeRequest /// <summary> /// If true, a charge point will be reserved and a charge object with state reserved will be returned. /// Use `restart` endpoint to start the charge. - /// . /// </summary> public bool ReserveCharge { get; set; } diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs index 388a4821..631a696e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs @@ -19,7 +19,6 @@ public class ChargesInsightDriverReportDtoConsumption /// * `team-operator` - Charges that belong to Charge Points of the same operator as paying team operator. /// * `public` - Any charge that was paid for by this team that does not match the other cases. /// Note that more chargeTypes might be added in the future. Make sure to handle this gracefully. - /// . /// </summary> [Required] public string ChargeType { get; set; } diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs index 5ae26f3e..3fce41eb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs @@ -36,8 +36,7 @@ public class GetSitesParameters /// <summary> /// lat,long coordinates. If supplied, the Charge Points will be sorted in nearest first order relative - /// to this point. (Format: 55.7096,12.5856) - /// . + /// to this point. (Format: 55.7096,12.5856). /// </summary> public string SortByLocation { get; set; } diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs index 4c3ecbe2..027fb4e4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs @@ -31,7 +31,6 @@ public class CreateSubscription /// Allows to modify the absolute discount on a subscription if provided. /// If not provided, the discount of the plan is used. /// Note: If you want to set it on an existing subscription, you have to cancel the subscription first. - /// . /// </summary> public double? DiscountAbsolute { get; set; } @@ -39,7 +38,6 @@ public class CreateSubscription /// Allows to modify the percentage discount on a subscription if provided. /// If not provided, the discount of the plan is used. /// Note: If you want to set it on an existing subscription, you have to cancel the subscription first. - /// . /// </summary> public double? DiscountPercentage { get; set; } diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs index ad8b7340..6f71c87a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs @@ -107,7 +107,6 @@ public class WalletTransaction /// Kind of this transaction, ie 'charge-sponsored'. /// <br/> /// **Note:** This is an open field and therefore more kinds will be added moving forward. - /// . /// </summary> [Required] public string Kind { get; set; } From f9d666f4fcbb722b071a41c63803ec8412b463a1 Mon Sep 17 00:00:00 2001 From: David Kallesen <david@lmdk.dk> Date: Tue, 2 Jul 2024 00:30:42 +0200 Subject: [PATCH 7/9] fix: S1066 --- test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs index 30b591aa..13adcc50 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs @@ -367,12 +367,10 @@ private static async Task AssertGenerateForClientCSharp( sbCommands.Append(scenarioPath.Name); sbCommands.Append(" --outputPath "); sbCommands.Append(Path.Combine(outputPath.FullName, "src")); - if (!useCustomErrorResponseModel) + if (!useCustomErrorResponseModel && + useProblemDetailsAsDefaultResponseBody) { - if (useProblemDetailsAsDefaultResponseBody) - { - sbCommands.Append(" --useProblemDetailsAsDefaultResponseBody"); - } + sbCommands.Append(" --useProblemDetailsAsDefaultResponseBody"); } if (optionsFile is not null) From 9638bf0160537cb60b34c891b0054fc49ab2fba1 Mon Sep 17 00:00:00 2001 From: David Kallesen <david@lmdk.dk> Date: Tue, 2 Jul 2024 00:38:48 +0200 Subject: [PATCH 8/9] fix: Rename Senario test MontaPartner to Monta due to Filename too long --- .../Atc.Rest.ApiGenerator.CLI.Tests.csproj | 6 +- .../ApiGeneratorOptions.json | 0 .../MontaPartner.yaml => Monta/Monta.yaml} | 0 ...ithClientCredentialsParameters.verified.cs | 2 +- ...okenWithRefreshTokenParameters.verified.cs | 2 +- .../Contracts/Auth/Token.verified.cs | 2 +- .../ChargeAuthToken.verified.cs | 2 +- .../CreateChargeAuthToken.verified.cs | 2 +- .../MontaPageChargeAuthTokenDto.verified.cs | 2 +- .../PatchChargeAuthToken.verified.cs | 2 +- ...BlockChargeAuthTokenParameters.verified.cs | 2 +- ...reateChargeAuthTokenParameters.verified.cs | 2 +- ...eleteChargeAuthTokenParameters.verified.cs | 2 +- .../GetChargeAuthTokenParameters.verified.cs | 2 +- .../GetChargeAuthTokensParameters.verified.cs | 2 +- ...PatchChargeAuthTokenParameters.verified.cs | 2 +- ...blockChargeAuthTokenParameters.verified.cs | 2 +- .../ChargePointBrand.verified.cs | 2 +- .../MontaPageChargePointBrandDto.verified.cs | 2 +- .../GetChargePointBrandParameters.verified.cs | 2 +- ...GetChargePointBrandsParameters.verified.cs | 2 +- ...ntaPageChargePointConnectorDto.verified.cs | 2 +- .../GetConnectorParameters.verified.cs | 2 +- .../ChargePointIntegration.verified.cs | 2 +- ...OrUpdateChargePointIntegration.verified.cs | 2 +- ...aPageChargePointIntegrationDto.verified.cs | 2 +- ...argePointIntegrationParameters.verified.cs | 2 +- ...argePointIntegrationParameters.verified.cs | 2 +- ...rgePointIntegrationsParameters.verified.cs | 2 +- ...argePointIntegrationParameters.verified.cs | 2 +- .../ChargePointModel.verified.cs | 2 +- ...intModelDtoChargePointBrandDto.verified.cs | 2 +- .../ChargePointModelFeature.verified.cs | 2 +- .../MontaPageChargePointModelDto.verified.cs | 2 +- .../GetChargePointModelParameters.verified.cs | 2 +- ...GetChargePointModelsParameters.verified.cs | 2 +- .../CreateChargePoint.verified.cs | 2 +- .../ChargePoints/MapResult.verified.cs | 2 +- .../MapResultChargePoint.verified.cs | 2 +- .../ChargePoints/MapResultCluster.verified.cs | 2 +- .../ChargePoints/MapResultSite.verified.cs | 2 +- .../MontaPageChargePointDto.verified.cs | 2 +- .../ChargePoints/PatchChargePoint.verified.cs | 2 +- .../DeleteChargePointParameters.verified.cs | 2 +- .../GetChargePointMapParameters.verified.cs | 2 +- .../GetChargePointParameters.verified.cs | 2 +- .../GetChargePointsParameters.verified.cs | 2 +- .../PatchChargePointParameters.verified.cs | 2 +- .../PostChargePointParameters.verified.cs | 2 +- .../Contracts/Charges/Breakdown.verified.cs | 2 +- .../Charges/BreakdownSummary.verified.cs | 2 +- .../Contracts/Charges/Charge.verified.cs | 2 +- .../Charges/ChargeAuthentication.verified.cs | 2 +- .../Charges/ChargeBreakdown.verified.cs | 2 +- .../Contracts/Charges/ChargeCost.verified.cs | 2 +- .../Contracts/Charges/ChargePrice.verified.cs | 2 +- .../Charges/ChargesInsight.verified.cs | 2 +- .../Charges/ChargesInsightEntry.verified.cs | 2 +- .../Charges/ChargesInsightSummary.verified.cs | 2 +- .../Contracts/Charges/Component.verified.cs | 2 +- .../Charges/DetailedBreakdown.verified.cs | 2 +- .../Charges/GenericPaymentSession.verified.cs | 2 +- .../Contracts/Charges/KwhPerHour.verified.cs | 2 +- .../Charges/MontaPageChargeDto.verified.cs | 2 +- .../Contracts/Charges/PatchCharge.verified.cs | 2 +- .../Contracts/Charges/PayingTeam.verified.cs | 2 +- .../Charges/PublicChargePoint.verified.cs | 2 +- .../GetChargeBreakdownParameters.verified.cs | 2 +- .../GetChargeParameters.verified.cs | 2 +- .../GetChargesParameters.verified.cs | 2 +- .../PatchChargeParameters.verified.cs | 2 +- .../RestartChargeParameters.verified.cs | 2 +- .../StartChargeParameters.verified.cs | 2 +- .../StopChargeParameters.verified.cs | 2 +- .../Charges/SimpleTeamMemberDto.verified.cs | 2 +- .../Contracts/Charges/SponsorTeam.verified.cs | 2 +- .../Charges/StartChargeRequest.verified.cs | 2 +- .../Charges/StateOfCharge.verified.cs | 2 +- .../Contracts/Countries/Country.verified.cs | 2 +- .../Countries/MontaPageCountryDto.verified.cs | 2 +- .../GetCountryParameters.verified.cs | 2 +- .../CountryAreas/CountryArea.verified.cs | 2 +- .../MontaPageCountryAreaDto.verified.cs | 2 +- .../GetCountriesAreasParameters.verified.cs | 2 +- .../GetCountryAreaParameters.verified.cs | 2 +- .../Currencies/CurrencyDto3.verified.cs | 2 +- .../Currencies/CurrencyDto4.verified.cs | 2 +- .../MontaPageCurrencyDto.verified.cs | 2 +- .../GetCurrenciesParameters.verified.cs | 2 +- .../GetCurrencyParameters.verified.cs | 2 +- .../ChargesInsightChargerReport.verified.cs | 2 +- ...ghtChargerReportDtoConsumption.verified.cs | 2 +- .../ChargesInsightDriverReport.verified.cs | 2 +- ...ightDriverReportDtoConsumption.verified.cs | 2 +- ...ChargesInsightChargerReportDto.verified.cs | 2 +- ...eChargesInsightDriverReportDto.verified.cs | 2 +- ...ChargesChargerReportParameters.verified.cs | 2 +- ...sChargesDriverReportParameters.verified.cs | 2 +- .../CreateInstallerJobDto.verified.cs | 2 +- .../InstallerJobs/InstallerJob.verified.cs | 2 +- .../InstallerJobTask.verified.cs | 2 +- .../MontaPageInstallerJobDto.verified.cs | 2 +- .../DeleteInstallerJobParameters.verified.cs | 2 +- .../GetInstallerJobParameters.verified.cs | 2 +- .../GetInstallerJobsParameters.verified.cs | 2 +- .../PostInstallerJobParameters.verified.cs | 2 +- .../MontaPageOperatorDto.verified.cs | 2 +- .../GetOperatorParameters.verified.cs | 2 +- .../GetOperatorsParameters.verified.cs | 2 +- .../MontaPagePaymentTerminalDto.verified.cs | 2 +- .../PaymentTerminal.verified.cs | 2 +- .../GetPaymentTerminalParameters.verified.cs | 2 +- .../GetPaymentTerminalsParameters.verified.cs | 2 +- .../Plans/MontaPagePlanDto.verified.cs | 2 +- .../Contracts/Plans/Plan.verified.cs | 2 +- .../Contracts/Plans/PlanPrice.verified.cs | 2 +- .../Plans/PlanServiceConfig.verified.cs | 2 +- .../GetPlanParameters.verified.cs | 2 +- .../GetPlansParameters.verified.cs | 2 +- .../CreatePriceGroupTag.verified.cs | 2 +- .../MontaPagePriceGroupTagDto.verified.cs | 2 +- .../PatchPriceGroupTag.verified.cs | 2 +- .../DeletePriceGroupTagParameters.verified.cs | 2 +- .../GetPriceGroupTagParameters.verified.cs | 2 +- .../GetPriceGroupTagsParameters.verified.cs | 2 +- .../PatchPriceGroupTagParameters.verified.cs | 2 +- .../PostPriceGroupTagParameters.verified.cs | 2 +- .../PriceGroups/ApplyPriceGroup.verified.cs | 2 +- .../CreateAdditionalPricingDto.verified.cs | 2 +- .../CreateOrUpdatePriceGroupDto.verified.cs | 2 +- .../CreateOrUpdatePricingDto.verified.cs | 2 +- .../PriceGroups/MontaAppResponse.verified.cs | 2 +- .../MontaAppResponseErrorDetail.verified.cs | 2 +- ...ontaAppResponseErrorDetailBody.verified.cs | 2 +- .../MontaPagePriceGroupDto.verified.cs | 2 +- .../ApplyPriceGroupParameters.verified.cs | 2 +- .../CreatePriceGroupParameters.verified.cs | 2 +- .../DeletePriceGroupParameters.verified.cs | 2 +- .../GetPriceGroupParameters.verified.cs | 2 +- .../GetPriceGroupsParameters.verified.cs | 2 +- ...SetDefaultPriceGroupParameters.verified.cs | 2 +- .../UpdatePriceGroupParameters.verified.cs | 2 +- .../Prices/PricesForecast.verified.cs | 2 +- .../Prices/PricesForecastEntry.verified.cs | 2 +- .../GetPricesForecastParameters.verified.cs | 2 +- .../Contracts/Sites/CreateSite.verified.cs | 2 +- .../Sites/MontaPageSiteDto.verified.cs | 2 +- .../Contracts/Sites/PatchSite.verified.cs | 2 +- .../DeleteSiteParameters.verified.cs | 2 +- .../GetSiteParameters.verified.cs | 2 +- .../GetSitesParameters.verified.cs | 2 +- .../PatchSiteParameters.verified.cs | 2 +- .../PostSiteParameters.verified.cs | 2 +- .../Contracts/Sites/Site.verified.cs | 2 +- .../CreateSponsoredChargePointDto.verified.cs | 2 +- ...ntaPageSponsoredChargePointDto.verified.cs | 2 +- .../PatchSponsoredChargePoint.verified.cs | 2 +- ...SponsoredChargePointParameters.verified.cs | 2 +- ...SponsoredChargePointParameters.verified.cs | 2 +- ...ponsoredChargePointsParameters.verified.cs | 2 +- ...SponsoredChargePointParameters.verified.cs | 2 +- ...SponsoredChargePointParameters.verified.cs | 2 +- .../SponsoredChargePoint.verified.cs | 2 +- .../SponsoredChargePointData.verified.cs | 2 +- ...ntaPageSubscriptionPurchaseDto.verified.cs | 2 +- ...SubscriptionPurchaseParameters.verified.cs | 2 +- ...ubscriptionPurchasesParameters.verified.cs | 2 +- .../SubscriptionPurchase.verified.cs | 2 +- .../ApproveSubscription.verified.cs | 2 +- .../CreateSubscription.verified.cs | 2 +- .../MontaPageSubscriptionDto.verified.cs | 2 +- .../ApproveSubscriptionParameters.verified.cs | 2 +- .../CreateSubscriptionParameters.verified.cs | 2 +- .../DeleteSubscriptionParameters.verified.cs | 2 +- .../GetSubscriptionParameters.verified.cs | 2 +- .../GetSubscriptionsParameters.verified.cs | 2 +- .../Contracts/Subscriptions/Unit.verified.cs | 2 +- ...ateTariffPeriodGroupParameters.verified.cs | 2 +- ...eteTariffPeriodGroupParameters.verified.cs | 2 +- .../GetPeriodGroupParameters.verified.cs | 2 +- .../GetPeriodGroupsParameters.verified.cs | 2 +- ...ateTariffPeriodGroupParameters.verified.cs | 2 +- .../TariffPeriodGroup.verified.cs | 2 +- .../PageTariffRecurringPeriodDto.verified.cs | 2 +- ...riffRecurringPeriodsParameters.verified.cs | 2 +- ...ariffRecurringPeriodParameters.verified.cs | 2 +- ...ariffRecurringPeriodParameters.verified.cs | 2 +- ...riffRecurringPeriodsParameters.verified.cs | 2 +- ...riffRecurringPeriodsParameters.verified.cs | 2 +- .../TariffRecurringPeriod.verified.cs | 2 +- ...ecurringPeriodCreateRequestDto.verified.cs | 2 +- ...ecurringPeriodUpdateRequestDto.verified.cs | 2 +- .../CreateTariffPricesRequest.verified.cs | 2 +- .../Tariffs/CreateTariffRequest.verified.cs | 2 +- .../Contracts/Tariffs/FullTariff.verified.cs | 2 +- .../Tariffs/PairStringBigDecimal.verified.cs | 2 +- .../Contracts/Tariffs/Price.verified.cs | 2 +- .../Tariffs/PriceSpecification.verified.cs | 2 +- .../CreateTariffParameters.verified.cs | 2 +- .../CreateTariffPricesParameters.verified.cs | 2 +- .../GetAllTariffsParameters.verified.cs | 2 +- .../GetTariffParameters.verified.cs | 2 +- .../UpdateTariffParameters.verified.cs | 2 +- .../Contracts/Tariffs/TariffDto.verified.cs | 2 +- .../Tariffs/UpdateTariffRequest.verified.cs | 2 +- .../TeamMembers/CreateTeamMember.verified.cs | 2 +- .../MontaPageTeamMemberDto.verified.cs | 2 +- .../TeamMembers/PatchTeamMember.verified.cs | 2 +- .../DeleteTeamMemberParameters.verified.cs | 2 +- .../GetTeamMemberParameters.verified.cs | 2 +- .../GetTeamMembersParameters.verified.cs | 2 +- .../PatchTeamMemberParameters.verified.cs | 2 +- .../PostTeamMemberParameters.verified.cs | 2 +- ...sendTeamMemberInviteParameters.verified.cs | 2 +- .../TeamMembers/TeamMemberDto.verified.cs | 2 +- .../Contracts/Teams/CreateTeamDto.verified.cs | 2 +- .../Teams/MontaPageTeamDto.verified.cs | 2 +- .../Contracts/Teams/PatchTeam.verified.cs | 2 +- .../DeleteTeamParameters.verified.cs | 2 +- .../GetTeamParameters.verified.cs | 2 +- .../GetTeamsParameters.verified.cs | 2 +- .../PatchTeamParameters.verified.cs | 2 +- .../PostTeamParameters.verified.cs | 2 +- .../Contracts/Teams/Team.verified.cs | 2 +- .../Teams/TeamDtoTeamAddressDto.verified.cs | 2 +- .../MetadataDto.verified.cs | 2 +- .../MontaPageWalletTransactionDto.verified.cs | 2 +- .../OperatorAdjustmentTransaction.verified.cs | 2 +- .../PatchWalletTransaction.verified.cs | 2 +- ...GetWalletTransactionParameters.verified.cs | 2 +- ...etWalletTransactionsParameters.verified.cs | 2 +- .../PatchTransactionParameters.verified.cs | 2 +- ...djustmentTransactionParameters.verified.cs | 2 +- .../TeamOrOperator.verified.cs | 2 +- .../WalletTransaction.verified.cs | 2 +- .../Wallets/MontaPageWalletDto.verified.cs | 2 +- .../GetWalletParameters.verified.cs | 2 +- .../GetWalletsParameters.verified.cs | 2 +- .../Contracts/Wallets/Wallet.verified.cs | 2 +- .../Wallets/WalletDtoBalanceDto.verified.cs | 2 +- .../MontaPageWebhookEntryDto.verified.cs | 2 +- .../GetWebhookEntries1Parameters.verified.cs | 2 +- .../GetWebhookEntriesParameters.verified.cs | 2 +- .../UpdateWebhookConfigParameters.verified.cs | 2 +- .../Webhooks/WebhookConfig.verified.cs | 2 +- .../Webhooks/WebhookEntry.verified.cs | 2 +- .../WebhookEntryErrorPayload.verified.cs | 2 +- .../Webhooks/WebhookEntryPayload.verified.cs | 2 +- .../AdditionalPricingType.verified.cs | 2 +- .../ChargeAuthenticationType.verified.cs | 2 +- ...ChargePointIntegrationStateDto.verified.cs | 2 +- .../ChargePointIntegrationType.verified.cs | 2 +- .../ChargePointState.verified.cs | 2 +- .../ChargeStateDto.verified.cs | 2 +- .../_EnumerationTypes/ChargeType.verified.cs | 2 +- .../ChargesInsightEntryTypeDto.verified.cs | 2 +- .../ChargesInsightTypeDto.verified.cs | 2 +- .../ComponentMetadataDto.verified.cs | 2 +- .../ComponentMetadataTypeDto.verified.cs | 2 +- .../ComponentTypeDto.verified.cs | 2 +- .../CountryAreaLevel.verified.cs | 2 +- .../_EnumerationTypes/DayOfWeek.verified.cs | 2 +- .../DriverReportDatesFilteredBy.verified.cs | 2 +- .../ElectricCurrentType.verified.cs | 2 +- .../KafkaEventType.verified.cs | 2 +- .../MontaHttpStatus.verified.cs | 2 +- .../OperatorRole.verified.cs | 2 +- .../PaymentTerminalType.verified.cs | 2 +- .../PlanApplicableFor.verified.cs | 2 +- .../PlanApplicationAudience.verified.cs | 2 +- .../PlanPriceModel.verified.cs | 2 +- .../PlanServiceType.verified.cs | 2 +- .../PriceGroupType.verified.cs | 2 +- .../_EnumerationTypes/PricingType.verified.cs | 2 +- ...SponsoredChargePointPayoutType.verified.cs | 2 +- .../SubscriptionCustomerType.verified.cs | 2 +- .../SubscriptionPurchaseTypeDto.verified.cs | 2 +- .../SubscriptionState.verified.cs | 2 +- .../TariffCustomerType.verified.cs | 2 +- .../_EnumerationTypes/TariffType.verified.cs | 2 +- .../TeamMemberAccess.verified.cs | 2 +- .../TeamMemberRole.verified.cs | 2 +- .../TeamMemberState.verified.cs | 2 +- .../TeamTypeCreatable.verified.cs | 2 +- .../TeamWalletChargePaymentType.verified.cs | 2 +- .../VisibilityType.verified.cs | 2 +- .../VisibilityType1.verified.cs | 2 +- .../VisibilityType3.verified.cs | 2 +- .../WalletTransactionGroup.verified.cs | 2 +- ...WalletTransactionReferenceType.verified.cs | 2 +- .../WalletTransactionState.verified.cs | 2 +- .../WebhookEntryEventType.verified.cs | 2 +- .../WebhookEntryPayloadEntityType.verified.cs | 2 +- .../WebhookEntryStatus.verified.cs | 2 +- .../_Shared/AdditionalPricing.verified.cs | 2 +- .../Contracts/_Shared/Address.verified.cs | 2 +- .../Contracts/_Shared/ChargePoint.verified.cs | 2 +- .../_Shared/ChargePointConnector.verified.cs | 2 +- .../_Shared/ChargePointDeeplinks.verified.cs | 2 +- .../Contracts/_Shared/Consumer.verified.cs | 2 +- .../Contracts/_Shared/Coordinates.verified.cs | 2 +- .../CreatedOrUpdateAddress.verified.cs | 2 +- .../Contracts/_Shared/Currency.verified.cs | 2 +- .../_Shared/ErrorResponse.verified.cs | 2 +- .../Contracts/_Shared/Location.verified.cs | 2 +- .../Contracts/_Shared/Money.verified.cs | 2 +- .../_Shared/MontaPageMeta.verified.cs | 2 +- .../Contracts/_Shared/Operator.verified.cs | 2 +- .../Contracts/_Shared/PriceGroup.verified.cs | 2 +- .../_Shared/PriceGroupAppliedTo.verified.cs | 2 +- .../_Shared/PriceGroupTag.verified.cs | 2 +- .../Contracts/_Shared/Pricing.verified.cs | 2 +- .../Contracts/_Shared/PublicUser.verified.cs | 2 +- .../_Shared/Subscription.verified.cs | 2 +- .../SubscriptionServiceConfig.verified.cs | 2 +- ...nWithClientCredentialsEndpoint.verified.cs | 4 +- ...lientCredentialsEndpointResult.verified.cs | 2 +- ...sTokenWithRefreshTokenEndpoint.verified.cs | 4 +- ...WithRefreshTokenEndpointResult.verified.cs | 2 +- ...nWithClientCredentialsEndpoint.verified.cs | 4 +- ...lientCredentialsEndpointResult.verified.cs | 2 +- ...sTokenWithRefreshTokenEndpoint.verified.cs | 4 +- ...WithRefreshTokenEndpointResult.verified.cs | 2 +- .../BlockChargeAuthTokenEndpoint.verified.cs | 4 +- ...kChargeAuthTokenEndpointResult.verified.cs | 2 +- .../CreateChargeAuthTokenEndpoint.verified.cs | 4 +- ...eChargeAuthTokenEndpointResult.verified.cs | 2 +- .../DeleteChargeAuthTokenEndpoint.verified.cs | 4 +- ...eChargeAuthTokenEndpointResult.verified.cs | 2 +- .../GetChargeAuthTokenEndpoint.verified.cs | 4 +- ...tChargeAuthTokenEndpointResult.verified.cs | 2 +- .../GetChargeAuthTokensEndpoint.verified.cs | 4 +- ...ChargeAuthTokensEndpointResult.verified.cs | 2 +- .../IBlockChargeAuthTokenEndpoint.verified.cs | 4 +- ...kChargeAuthTokenEndpointResult.verified.cs | 2 +- ...ICreateChargeAuthTokenEndpoint.verified.cs | 4 +- ...eChargeAuthTokenEndpointResult.verified.cs | 2 +- ...IDeleteChargeAuthTokenEndpoint.verified.cs | 4 +- ...eChargeAuthTokenEndpointResult.verified.cs | 2 +- .../IGetChargeAuthTokenEndpoint.verified.cs | 4 +- ...tChargeAuthTokenEndpointResult.verified.cs | 2 +- .../IGetChargeAuthTokensEndpoint.verified.cs | 4 +- ...ChargeAuthTokensEndpointResult.verified.cs | 2 +- .../IPatchChargeAuthTokenEndpoint.verified.cs | 4 +- ...hChargeAuthTokenEndpointResult.verified.cs | 2 +- ...UnblockChargeAuthTokenEndpoint.verified.cs | 4 +- ...kChargeAuthTokenEndpointResult.verified.cs | 2 +- .../PatchChargeAuthTokenEndpoint.verified.cs | 4 +- ...hChargeAuthTokenEndpointResult.verified.cs | 2 +- ...UnblockChargeAuthTokenEndpoint.verified.cs | 4 +- ...kChargeAuthTokenEndpointResult.verified.cs | 2 +- .../GetChargePointBrandEndpoint.verified.cs | 4 +- ...ChargePointBrandEndpointResult.verified.cs | 2 +- .../GetChargePointBrandsEndpoint.verified.cs | 4 +- ...hargePointBrandsEndpointResult.verified.cs | 2 +- .../IGetChargePointBrandEndpoint.verified.cs | 4 +- ...ChargePointBrandEndpointResult.verified.cs | 2 +- .../IGetChargePointBrandsEndpoint.verified.cs | 4 +- ...hargePointBrandsEndpointResult.verified.cs | 2 +- .../GetConnectorEndpoint.verified.cs | 4 +- .../GetConnectorEndpointResult.verified.cs | 2 +- .../GetConnectorsEndpoint.verified.cs | 4 +- .../GetConnectorsEndpointResult.verified.cs | 2 +- .../IGetConnectorEndpoint.verified.cs | 4 +- .../IGetConnectorEndpointResult.verified.cs | 2 +- .../IGetConnectorsEndpoint.verified.cs | 4 +- .../IGetConnectorsEndpointResult.verified.cs | 2 +- ...ChargePointIntegrationEndpoint.verified.cs | 4 +- ...PointIntegrationEndpointResult.verified.cs | 2 +- ...ChargePointIntegrationEndpoint.verified.cs | 4 +- ...PointIntegrationEndpointResult.verified.cs | 2 +- ...hargePointIntegrationsEndpoint.verified.cs | 4 +- ...ointIntegrationsEndpointResult.verified.cs | 2 +- ...ChargePointIntegrationEndpoint.verified.cs | 4 +- ...PointIntegrationEndpointResult.verified.cs | 2 +- ...ChargePointIntegrationEndpoint.verified.cs | 4 +- ...PointIntegrationEndpointResult.verified.cs | 2 +- ...hargePointIntegrationsEndpoint.verified.cs | 4 +- ...ointIntegrationsEndpointResult.verified.cs | 2 +- ...ChargePointIntegrationEndpoint.verified.cs | 4 +- ...PointIntegrationEndpointResult.verified.cs | 2 +- ...ChargePointIntegrationEndpoint.verified.cs | 4 +- ...PointIntegrationEndpointResult.verified.cs | 2 +- .../GetChargePointModelEndpoint.verified.cs | 4 +- ...ChargePointModelEndpointResult.verified.cs | 2 +- .../GetChargePointModelsEndpoint.verified.cs | 4 +- ...hargePointModelsEndpointResult.verified.cs | 2 +- .../IGetChargePointModelEndpoint.verified.cs | 4 +- ...ChargePointModelEndpointResult.verified.cs | 2 +- .../IGetChargePointModelsEndpoint.verified.cs | 4 +- ...hargePointModelsEndpointResult.verified.cs | 2 +- .../DeleteChargePointEndpoint.verified.cs | 4 +- ...eleteChargePointEndpointResult.verified.cs | 2 +- .../GetChargePointEndpoint.verified.cs | 4 +- .../GetChargePointEndpointResult.verified.cs | 2 +- .../GetChargePointMapEndpoint.verified.cs | 4 +- ...etChargePointMapEndpointResult.verified.cs | 2 +- .../GetChargePointsEndpoint.verified.cs | 4 +- .../GetChargePointsEndpointResult.verified.cs | 2 +- .../IDeleteChargePointEndpoint.verified.cs | 4 +- ...eleteChargePointEndpointResult.verified.cs | 2 +- .../IGetChargePointEndpoint.verified.cs | 4 +- .../IGetChargePointEndpointResult.verified.cs | 2 +- .../IGetChargePointMapEndpoint.verified.cs | 4 +- ...etChargePointMapEndpointResult.verified.cs | 2 +- .../IGetChargePointsEndpoint.verified.cs | 4 +- ...IGetChargePointsEndpointResult.verified.cs | 2 +- .../IPatchChargePointEndpoint.verified.cs | 4 +- ...PatchChargePointEndpointResult.verified.cs | 2 +- .../IPostChargePointEndpoint.verified.cs | 4 +- ...IPostChargePointEndpointResult.verified.cs | 2 +- .../PatchChargePointEndpoint.verified.cs | 4 +- ...PatchChargePointEndpointResult.verified.cs | 2 +- .../PostChargePointEndpoint.verified.cs | 4 +- .../PostChargePointEndpointResult.verified.cs | 2 +- .../GetChargeBreakdownEndpoint.verified.cs | 4 +- ...tChargeBreakdownEndpointResult.verified.cs | 2 +- .../Charges/GetChargeEndpoint.verified.cs | 4 +- .../GetChargeEndpointResult.verified.cs | 2 +- .../Charges/GetChargesEndpoint.verified.cs | 4 +- .../GetChargesEndpointResult.verified.cs | 2 +- .../IGetChargeBreakdownEndpoint.verified.cs | 4 +- ...tChargeBreakdownEndpointResult.verified.cs | 2 +- .../Interfaces/IGetChargeEndpoint.verified.cs | 4 +- .../IGetChargeEndpointResult.verified.cs | 2 +- .../IGetChargesEndpoint.verified.cs | 4 +- .../IGetChargesEndpointResult.verified.cs | 2 +- .../IPatchChargeEndpoint.verified.cs | 4 +- .../IPatchChargeEndpointResult.verified.cs | 2 +- .../IRestartChargeEndpoint.verified.cs | 4 +- .../IRestartChargeEndpointResult.verified.cs | 2 +- .../IStartChargeEndpoint.verified.cs | 4 +- .../IStartChargeEndpointResult.verified.cs | 2 +- .../IStopChargeEndpoint.verified.cs | 4 +- .../IStopChargeEndpointResult.verified.cs | 2 +- .../Charges/PatchChargeEndpoint.verified.cs | 4 +- .../PatchChargeEndpointResult.verified.cs | 2 +- .../Charges/RestartChargeEndpoint.verified.cs | 4 +- .../RestartChargeEndpointResult.verified.cs | 2 +- .../Charges/StartChargeEndpoint.verified.cs | 4 +- .../StartChargeEndpointResult.verified.cs | 2 +- .../Charges/StopChargeEndpoint.verified.cs | 4 +- .../StopChargeEndpointResult.verified.cs | 2 +- .../GetCurrentConsumerEndpoint.verified.cs | 4 +- ...tCurrentConsumerEndpointResult.verified.cs | 2 +- .../IGetCurrentConsumerEndpoint.verified.cs | 4 +- ...tCurrentConsumerEndpointResult.verified.cs | 2 +- .../GetCountriesEndpoint.verified.cs | 4 +- .../GetCountriesEndpointResult.verified.cs | 2 +- .../Countries/GetCountryEndpoint.verified.cs | 4 +- .../GetCountryEndpointResult.verified.cs | 2 +- .../IGetCountriesEndpoint.verified.cs | 4 +- .../IGetCountriesEndpointResult.verified.cs | 2 +- .../IGetCountryEndpoint.verified.cs | 4 +- .../IGetCountryEndpointResult.verified.cs | 2 +- .../GetCountriesAreasEndpoint.verified.cs | 4 +- ...etCountriesAreasEndpointResult.verified.cs | 2 +- .../GetCountryAreaEndpoint.verified.cs | 4 +- .../GetCountryAreaEndpointResult.verified.cs | 2 +- .../IGetCountriesAreasEndpoint.verified.cs | 4 +- ...etCountriesAreasEndpointResult.verified.cs | 2 +- .../IGetCountryAreaEndpoint.verified.cs | 4 +- .../IGetCountryAreaEndpointResult.verified.cs | 2 +- .../GetCurrenciesEndpoint.verified.cs | 4 +- .../GetCurrenciesEndpointResult.verified.cs | 2 +- .../GetCurrencyEndpoint.verified.cs | 4 +- .../GetCurrencyEndpointResult.verified.cs | 2 +- .../IGetCurrenciesEndpoint.verified.cs | 4 +- .../IGetCurrenciesEndpointResult.verified.cs | 2 +- .../IGetCurrencyEndpoint.verified.cs | 4 +- .../IGetCurrencyEndpointResult.verified.cs | 2 +- ...tsChargesChargerReportEndpoint.verified.cs | 4 +- ...gesChargerReportEndpointResult.verified.cs | 2 +- ...htsChargesDriverReportEndpoint.verified.cs | 4 +- ...rgesDriverReportEndpointResult.verified.cs | 2 +- ...tsChargesChargerReportEndpoint.verified.cs | 4 +- ...gesChargerReportEndpointResult.verified.cs | 2 +- ...htsChargesDriverReportEndpoint.verified.cs | 4 +- ...rgesDriverReportEndpointResult.verified.cs | 2 +- .../DeleteInstallerJobEndpoint.verified.cs | 4 +- ...leteInstallerJobEndpointResult.verified.cs | 2 +- .../GetInstallerJobEndpoint.verified.cs | 4 +- .../GetInstallerJobEndpointResult.verified.cs | 2 +- .../GetInstallerJobsEndpoint.verified.cs | 4 +- ...GetInstallerJobsEndpointResult.verified.cs | 2 +- .../IDeleteInstallerJobEndpoint.verified.cs | 4 +- ...leteInstallerJobEndpointResult.verified.cs | 2 +- .../IGetInstallerJobEndpoint.verified.cs | 4 +- ...IGetInstallerJobEndpointResult.verified.cs | 2 +- .../IGetInstallerJobsEndpoint.verified.cs | 4 +- ...GetInstallerJobsEndpointResult.verified.cs | 2 +- .../IPostInstallerJobEndpoint.verified.cs | 4 +- ...PostInstallerJobEndpointResult.verified.cs | 2 +- .../PostInstallerJobEndpoint.verified.cs | 4 +- ...PostInstallerJobEndpointResult.verified.cs | 2 +- .../Operators/GetOperatorEndpoint.verified.cs | 4 +- .../GetOperatorEndpointResult.verified.cs | 2 +- .../GetOperatorsEndpoint.verified.cs | 4 +- .../GetOperatorsEndpointResult.verified.cs | 2 +- .../IGetOperatorEndpoint.verified.cs | 4 +- .../IGetOperatorEndpointResult.verified.cs | 2 +- .../IGetOperatorsEndpoint.verified.cs | 4 +- .../IGetOperatorsEndpointResult.verified.cs | 2 +- .../GetPaymentTerminalEndpoint.verified.cs | 4 +- ...tPaymentTerminalEndpointResult.verified.cs | 2 +- .../GetPaymentTerminalsEndpoint.verified.cs | 4 +- ...PaymentTerminalsEndpointResult.verified.cs | 2 +- .../IGetPaymentTerminalEndpoint.verified.cs | 4 +- ...tPaymentTerminalEndpointResult.verified.cs | 2 +- .../IGetPaymentTerminalsEndpoint.verified.cs | 4 +- ...PaymentTerminalsEndpointResult.verified.cs | 2 +- .../Plans/GetPlanEndpoint.verified.cs | 4 +- .../Plans/GetPlanEndpointResult.verified.cs | 2 +- .../Plans/GetPlansEndpoint.verified.cs | 4 +- .../Plans/GetPlansEndpointResult.verified.cs | 2 +- .../Interfaces/IGetPlanEndpoint.verified.cs | 4 +- .../IGetPlanEndpointResult.verified.cs | 2 +- .../Interfaces/IGetPlansEndpoint.verified.cs | 4 +- .../IGetPlansEndpointResult.verified.cs | 2 +- .../DeletePriceGroupTagEndpoint.verified.cs | 4 +- ...etePriceGroupTagEndpointResult.verified.cs | 2 +- .../GetPriceGroupTagEndpoint.verified.cs | 4 +- ...GetPriceGroupTagEndpointResult.verified.cs | 2 +- .../GetPriceGroupTagsEndpoint.verified.cs | 4 +- ...etPriceGroupTagsEndpointResult.verified.cs | 2 +- .../IDeletePriceGroupTagEndpoint.verified.cs | 4 +- ...etePriceGroupTagEndpointResult.verified.cs | 2 +- .../IGetPriceGroupTagEndpoint.verified.cs | 4 +- ...GetPriceGroupTagEndpointResult.verified.cs | 2 +- .../IGetPriceGroupTagsEndpoint.verified.cs | 4 +- ...etPriceGroupTagsEndpointResult.verified.cs | 2 +- .../IPatchPriceGroupTagEndpoint.verified.cs | 4 +- ...tchPriceGroupTagEndpointResult.verified.cs | 2 +- .../IPostPriceGroupTagEndpoint.verified.cs | 4 +- ...ostPriceGroupTagEndpointResult.verified.cs | 2 +- .../PatchPriceGroupTagEndpoint.verified.cs | 4 +- ...tchPriceGroupTagEndpointResult.verified.cs | 2 +- .../PostPriceGroupTagEndpoint.verified.cs | 4 +- ...ostPriceGroupTagEndpointResult.verified.cs | 2 +- .../ApplyPriceGroupEndpoint.verified.cs | 4 +- .../ApplyPriceGroupEndpointResult.verified.cs | 2 +- .../CreatePriceGroupEndpoint.verified.cs | 4 +- ...CreatePriceGroupEndpointResult.verified.cs | 2 +- .../DeletePriceGroupEndpoint.verified.cs | 4 +- ...DeletePriceGroupEndpointResult.verified.cs | 2 +- .../GetPriceGroupEndpoint.verified.cs | 4 +- .../GetPriceGroupEndpointResult.verified.cs | 2 +- .../GetPriceGroupsEndpoint.verified.cs | 4 +- .../GetPriceGroupsEndpointResult.verified.cs | 2 +- .../IApplyPriceGroupEndpoint.verified.cs | 4 +- ...IApplyPriceGroupEndpointResult.verified.cs | 2 +- .../ICreatePriceGroupEndpoint.verified.cs | 4 +- ...CreatePriceGroupEndpointResult.verified.cs | 2 +- .../IDeletePriceGroupEndpoint.verified.cs | 4 +- ...DeletePriceGroupEndpointResult.verified.cs | 2 +- .../IGetPriceGroupEndpoint.verified.cs | 4 +- .../IGetPriceGroupEndpointResult.verified.cs | 2 +- .../IGetPriceGroupsEndpoint.verified.cs | 4 +- .../IGetPriceGroupsEndpointResult.verified.cs | 2 +- .../ISetDefaultPriceGroupEndpoint.verified.cs | 4 +- ...efaultPriceGroupEndpointResult.verified.cs | 2 +- .../IUpdatePriceGroupEndpoint.verified.cs | 4 +- ...UpdatePriceGroupEndpointResult.verified.cs | 2 +- .../SetDefaultPriceGroupEndpoint.verified.cs | 4 +- ...efaultPriceGroupEndpointResult.verified.cs | 2 +- .../UpdatePriceGroupEndpoint.verified.cs | 4 +- ...UpdatePriceGroupEndpointResult.verified.cs | 2 +- .../GetPricesForecastEndpoint.verified.cs | 4 +- ...etPricesForecastEndpointResult.verified.cs | 2 +- .../IGetPricesForecastEndpoint.verified.cs | 4 +- ...etPricesForecastEndpointResult.verified.cs | 2 +- .../Sites/DeleteSiteEndpoint.verified.cs | 4 +- .../DeleteSiteEndpointResult.verified.cs | 2 +- .../Sites/GetSiteEndpoint.verified.cs | 4 +- .../Sites/GetSiteEndpointResult.verified.cs | 2 +- .../Sites/GetSitesEndpoint.verified.cs | 4 +- .../Sites/GetSitesEndpointResult.verified.cs | 2 +- .../IDeleteSiteEndpoint.verified.cs | 4 +- .../IDeleteSiteEndpointResult.verified.cs | 2 +- .../Interfaces/IGetSiteEndpoint.verified.cs | 4 +- .../IGetSiteEndpointResult.verified.cs | 2 +- .../Interfaces/IGetSitesEndpoint.verified.cs | 4 +- .../IGetSitesEndpointResult.verified.cs | 2 +- .../Interfaces/IPatchSiteEndpoint.verified.cs | 4 +- .../IPatchSiteEndpointResult.verified.cs | 2 +- .../Interfaces/IPostSiteEndpoint.verified.cs | 4 +- .../IPostSiteEndpointResult.verified.cs | 2 +- .../Sites/PatchSiteEndpoint.verified.cs | 4 +- .../Sites/PatchSiteEndpointResult.verified.cs | 2 +- .../Sites/PostSiteEndpoint.verified.cs | 4 +- .../Sites/PostSiteEndpointResult.verified.cs | 2 +- ...teSponsoredChargePointEndpoint.verified.cs | 4 +- ...soredChargePointEndpointResult.verified.cs | 2 +- ...etSponsoredChargePointEndpoint.verified.cs | 4 +- ...soredChargePointEndpointResult.verified.cs | 2 +- ...tSponsoredChargePointsEndpoint.verified.cs | 4 +- ...oredChargePointsEndpointResult.verified.cs | 2 +- ...teSponsoredChargePointEndpoint.verified.cs | 4 +- ...soredChargePointEndpointResult.verified.cs | 2 +- ...etSponsoredChargePointEndpoint.verified.cs | 4 +- ...soredChargePointEndpointResult.verified.cs | 2 +- ...tSponsoredChargePointsEndpoint.verified.cs | 4 +- ...oredChargePointsEndpointResult.verified.cs | 2 +- ...chSponsoredChargePointEndpoint.verified.cs | 4 +- ...soredChargePointEndpointResult.verified.cs | 2 +- ...stSponsoredChargePointEndpoint.verified.cs | 4 +- ...soredChargePointEndpointResult.verified.cs | 2 +- ...chSponsoredChargePointEndpoint.verified.cs | 4 +- ...soredChargePointEndpointResult.verified.cs | 2 +- ...stSponsoredChargePointEndpoint.verified.cs | 4 +- ...soredChargePointEndpointResult.verified.cs | 2 +- ...etSubscriptionPurchaseEndpoint.verified.cs | 4 +- ...criptionPurchaseEndpointResult.verified.cs | 2 +- ...tSubscriptionPurchasesEndpoint.verified.cs | 4 +- ...riptionPurchasesEndpointResult.verified.cs | 2 +- ...etSubscriptionPurchaseEndpoint.verified.cs | 4 +- ...criptionPurchaseEndpointResult.verified.cs | 2 +- ...tSubscriptionPurchasesEndpoint.verified.cs | 4 +- ...riptionPurchasesEndpointResult.verified.cs | 2 +- .../ApproveSubscriptionEndpoint.verified.cs | 4 +- ...roveSubscriptionEndpointResult.verified.cs | 2 +- .../CreateSubscriptionEndpoint.verified.cs | 4 +- ...eateSubscriptionEndpointResult.verified.cs | 2 +- .../DeleteSubscriptionEndpoint.verified.cs | 4 +- ...leteSubscriptionEndpointResult.verified.cs | 2 +- .../GetSubscriptionEndpoint.verified.cs | 4 +- .../GetSubscriptionEndpointResult.verified.cs | 2 +- .../GetSubscriptionsEndpoint.verified.cs | 4 +- ...GetSubscriptionsEndpointResult.verified.cs | 2 +- .../IApproveSubscriptionEndpoint.verified.cs | 4 +- ...roveSubscriptionEndpointResult.verified.cs | 2 +- .../ICreateSubscriptionEndpoint.verified.cs | 4 +- ...eateSubscriptionEndpointResult.verified.cs | 2 +- .../IDeleteSubscriptionEndpoint.verified.cs | 4 +- ...leteSubscriptionEndpointResult.verified.cs | 2 +- .../IGetSubscriptionEndpoint.verified.cs | 4 +- ...IGetSubscriptionEndpointResult.verified.cs | 2 +- .../IGetSubscriptionsEndpoint.verified.cs | 4 +- ...GetSubscriptionsEndpointResult.verified.cs | 2 +- ...reateTariffPeriodGroupEndpoint.verified.cs | 4 +- ...ariffPeriodGroupEndpointResult.verified.cs | 2 +- ...eleteTariffPeriodGroupEndpoint.verified.cs | 4 +- ...ariffPeriodGroupEndpointResult.verified.cs | 2 +- .../GetPeriodGroupEndpoint.verified.cs | 4 +- .../GetPeriodGroupEndpointResult.verified.cs | 2 +- .../GetPeriodGroupsEndpoint.verified.cs | 4 +- .../GetPeriodGroupsEndpointResult.verified.cs | 2 +- ...reateTariffPeriodGroupEndpoint.verified.cs | 4 +- ...ariffPeriodGroupEndpointResult.verified.cs | 2 +- ...eleteTariffPeriodGroupEndpoint.verified.cs | 4 +- ...ariffPeriodGroupEndpointResult.verified.cs | 2 +- .../IGetPeriodGroupEndpoint.verified.cs | 4 +- .../IGetPeriodGroupEndpointResult.verified.cs | 2 +- .../IGetPeriodGroupsEndpoint.verified.cs | 4 +- ...IGetPeriodGroupsEndpointResult.verified.cs | 2 +- ...pdateTariffPeriodGroupEndpoint.verified.cs | 4 +- ...ariffPeriodGroupEndpointResult.verified.cs | 2 +- ...pdateTariffPeriodGroupEndpoint.verified.cs | 4 +- ...ariffPeriodGroupEndpointResult.verified.cs | 2 +- ...TariffRecurringPeriodsEndpoint.verified.cs | 4 +- ...RecurringPeriodsEndpointResult.verified.cs | 2 +- ...eTariffRecurringPeriodEndpoint.verified.cs | 4 +- ...fRecurringPeriodEndpointResult.verified.cs | 2 +- ...tTariffRecurringPeriodEndpoint.verified.cs | 4 +- ...fRecurringPeriodEndpointResult.verified.cs | 2 +- ...TariffRecurringPeriodsEndpoint.verified.cs | 4 +- ...RecurringPeriodsEndpointResult.verified.cs | 2 +- ...TariffRecurringPeriodsEndpoint.verified.cs | 4 +- ...RecurringPeriodsEndpointResult.verified.cs | 2 +- ...eTariffRecurringPeriodEndpoint.verified.cs | 4 +- ...fRecurringPeriodEndpointResult.verified.cs | 2 +- ...tTariffRecurringPeriodEndpoint.verified.cs | 4 +- ...fRecurringPeriodEndpointResult.verified.cs | 2 +- ...TariffRecurringPeriodsEndpoint.verified.cs | 4 +- ...RecurringPeriodsEndpointResult.verified.cs | 2 +- ...TariffRecurringPeriodsEndpoint.verified.cs | 4 +- ...RecurringPeriodsEndpointResult.verified.cs | 2 +- ...TariffRecurringPeriodsEndpoint.verified.cs | 4 +- ...RecurringPeriodsEndpointResult.verified.cs | 2 +- .../Tariffs/CreateTariffEndpoint.verified.cs | 4 +- .../CreateTariffEndpointResult.verified.cs | 2 +- .../CreateTariffPricesEndpoint.verified.cs | 4 +- ...eateTariffPricesEndpointResult.verified.cs | 2 +- .../Tariffs/GetAllTariffsEndpoint.verified.cs | 4 +- .../GetAllTariffsEndpointResult.verified.cs | 2 +- .../Tariffs/GetTariffEndpoint.verified.cs | 4 +- .../GetTariffEndpointResult.verified.cs | 2 +- .../ICreateTariffEndpoint.verified.cs | 4 +- .../ICreateTariffEndpointResult.verified.cs | 2 +- .../ICreateTariffPricesEndpoint.verified.cs | 4 +- ...eateTariffPricesEndpointResult.verified.cs | 2 +- .../IGetAllTariffsEndpoint.verified.cs | 4 +- .../IGetAllTariffsEndpointResult.verified.cs | 2 +- .../Interfaces/IGetTariffEndpoint.verified.cs | 4 +- .../IGetTariffEndpointResult.verified.cs | 2 +- .../IUpdateTariffEndpoint.verified.cs | 4 +- .../IUpdateTariffEndpointResult.verified.cs | 2 +- .../Tariffs/UpdateTariffEndpoint.verified.cs | 4 +- .../UpdateTariffEndpointResult.verified.cs | 2 +- .../DeleteTeamMemberEndpoint.verified.cs | 4 +- ...DeleteTeamMemberEndpointResult.verified.cs | 2 +- .../GetTeamMemberEndpoint.verified.cs | 4 +- .../GetTeamMemberEndpointResult.verified.cs | 2 +- .../GetTeamMembersEndpoint.verified.cs | 4 +- .../GetTeamMembersEndpointResult.verified.cs | 2 +- .../IDeleteTeamMemberEndpoint.verified.cs | 4 +- ...DeleteTeamMemberEndpointResult.verified.cs | 2 +- .../IGetTeamMemberEndpoint.verified.cs | 4 +- .../IGetTeamMemberEndpointResult.verified.cs | 2 +- .../IGetTeamMembersEndpoint.verified.cs | 4 +- .../IGetTeamMembersEndpointResult.verified.cs | 2 +- .../IPatchTeamMemberEndpoint.verified.cs | 4 +- ...IPatchTeamMemberEndpointResult.verified.cs | 2 +- .../IPostTeamMemberEndpoint.verified.cs | 4 +- .../IPostTeamMemberEndpointResult.verified.cs | 2 +- ...ResendTeamMemberInviteEndpoint.verified.cs | 4 +- ...TeamMemberInviteEndpointResult.verified.cs | 2 +- .../PatchTeamMemberEndpoint.verified.cs | 4 +- .../PatchTeamMemberEndpointResult.verified.cs | 2 +- .../PostTeamMemberEndpoint.verified.cs | 4 +- .../PostTeamMemberEndpointResult.verified.cs | 2 +- ...ResendTeamMemberInviteEndpoint.verified.cs | 4 +- ...TeamMemberInviteEndpointResult.verified.cs | 2 +- .../Teams/DeleteTeamEndpoint.verified.cs | 4 +- .../DeleteTeamEndpointResult.verified.cs | 2 +- .../Teams/GetTeamEndpoint.verified.cs | 4 +- .../Teams/GetTeamEndpointResult.verified.cs | 2 +- .../Teams/GetTeamsEndpoint.verified.cs | 4 +- .../Teams/GetTeamsEndpointResult.verified.cs | 2 +- .../IDeleteTeamEndpoint.verified.cs | 4 +- .../IDeleteTeamEndpointResult.verified.cs | 2 +- .../Interfaces/IGetTeamEndpoint.verified.cs | 4 +- .../IGetTeamEndpointResult.verified.cs | 2 +- .../Interfaces/IGetTeamsEndpoint.verified.cs | 4 +- .../IGetTeamsEndpointResult.verified.cs | 2 +- .../Interfaces/IPatchTeamEndpoint.verified.cs | 4 +- .../IPatchTeamEndpointResult.verified.cs | 2 +- .../Interfaces/IPostTeamEndpoint.verified.cs | 4 +- .../IPostTeamEndpointResult.verified.cs | 2 +- .../Teams/PatchTeamEndpoint.verified.cs | 4 +- .../Teams/PatchTeamEndpointResult.verified.cs | 2 +- .../Teams/PostTeamEndpoint.verified.cs | 4 +- .../Teams/PostTeamEndpointResult.verified.cs | 2 +- .../GetWalletTransactionEndpoint.verified.cs | 4 +- ...alletTransactionEndpointResult.verified.cs | 2 +- .../GetWalletTransactionsEndpoint.verified.cs | 4 +- ...lletTransactionsEndpointResult.verified.cs | 2 +- .../IGetWalletTransactionEndpoint.verified.cs | 4 +- ...alletTransactionEndpointResult.verified.cs | 2 +- ...IGetWalletTransactionsEndpoint.verified.cs | 4 +- ...lletTransactionsEndpointResult.verified.cs | 2 +- .../IPatchTransactionEndpoint.verified.cs | 4 +- ...PatchTransactionEndpointResult.verified.cs | 2 +- ...rAdjustmentTransactionEndpoint.verified.cs | 4 +- ...tmentTransactionEndpointResult.verified.cs | 2 +- .../PatchTransactionEndpoint.verified.cs | 4 +- ...PatchTransactionEndpointResult.verified.cs | 2 +- ...rAdjustmentTransactionEndpoint.verified.cs | 4 +- ...tmentTransactionEndpointResult.verified.cs | 2 +- .../Wallets/GetWalletEndpoint.verified.cs | 4 +- .../GetWalletEndpointResult.verified.cs | 2 +- .../Wallets/GetWalletsEndpoint.verified.cs | 4 +- .../GetWalletsEndpointResult.verified.cs | 2 +- .../Interfaces/IGetWalletEndpoint.verified.cs | 4 +- .../IGetWalletEndpointResult.verified.cs | 2 +- .../IGetWalletsEndpoint.verified.cs | 4 +- .../IGetWalletsEndpointResult.verified.cs | 2 +- .../DeleteWebhookConfigEndpoint.verified.cs | 4 +- ...eteWebhookConfigEndpointResult.verified.cs | 2 +- .../GetWebhookConfigEndpoint.verified.cs | 4 +- ...GetWebhookConfigEndpointResult.verified.cs | 2 +- .../GetWebhookEntries1Endpoint.verified.cs | 4 +- ...tWebhookEntries1EndpointResult.verified.cs | 2 +- .../GetWebhookEntriesEndpoint.verified.cs | 4 +- ...etWebhookEntriesEndpointResult.verified.cs | 2 +- .../IDeleteWebhookConfigEndpoint.verified.cs | 4 +- ...eteWebhookConfigEndpointResult.verified.cs | 2 +- .../IGetWebhookConfigEndpoint.verified.cs | 4 +- ...GetWebhookConfigEndpointResult.verified.cs | 2 +- .../IGetWebhookEntries1Endpoint.verified.cs | 4 +- ...tWebhookEntries1EndpointResult.verified.cs | 2 +- .../IGetWebhookEntriesEndpoint.verified.cs | 4 +- ...etWebhookEntriesEndpointResult.verified.cs | 2 +- .../IUpdateWebhookConfigEndpoint.verified.cs | 4 +- ...ateWebhookConfigEndpointResult.verified.cs | 2 +- .../UpdateWebhookConfigEndpoint.verified.cs | 4 +- ...ateWebhookConfigEndpointResult.verified.cs | 2 +- .../GlobalUsings.verified.cs | 80 +++++++++++++++++++ .../GlobalUsings.verified.cs | 80 ------------------- .../ScenariosTests.cs | 2 +- 790 files changed, 1104 insertions(+), 1104 deletions(-) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner => Monta}/ApiGeneratorOptions.json (100%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/MontaPartner.yaml => Monta/Monta.yaml} (100%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Auth/Token.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointBrands/ChargePointBrand.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointModels/ChargePointModel.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/CreateChargePoint.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/MapResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/MapResultChargePoint.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/MapResultCluster.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/MapResultSite.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/PatchChargePoint.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/Breakdown.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/BreakdownSummary.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/Charge.verified.cs (99%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/ChargeAuthentication.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/ChargeBreakdown.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/ChargeCost.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/ChargePrice.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/ChargesInsight.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/ChargesInsightEntry.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/ChargesInsightSummary.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/Component.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/DetailedBreakdown.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/GenericPaymentSession.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/KwhPerHour.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/MontaPageChargeDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/PatchCharge.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/PayingTeam.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/PublicChargePoint.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/SimpleTeamMemberDto.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/SponsorTeam.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/StartChargeRequest.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Charges/StateOfCharge.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Countries/Country.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Countries/MontaPageCountryDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/CountryAreas/CountryArea.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Currencies/CurrencyDto3.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Currencies/CurrencyDto4.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Currencies/MontaPageCurrencyDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Insights/ChargesInsightChargerReport.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Insights/ChargesInsightDriverReport.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/InstallerJobs/InstallerJob.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/InstallerJobs/InstallerJobTask.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Operators/MontaPageOperatorDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PaymentTerminals/PaymentTerminal.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Plans/MontaPagePlanDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Plans/Plan.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Plans/PlanPrice.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Plans/PlanServiceConfig.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/ApplyPriceGroup.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/MontaAppResponse.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Prices/PricesForecast.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Prices/PricesForecastEntry.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/CreateSite.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/MontaPageSiteDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/PatchSite.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Sites/Site.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/ApproveSubscription.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/CreateSubscription.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Subscriptions/Unit.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/CreateTariffRequest.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/FullTariff.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/PairStringBigDecimal.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/Price.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/PriceSpecification.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/TariffDto.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Tariffs/UpdateTariffRequest.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/CreateTeamMember.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/PatchTeamMember.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/TeamMembers/TeamMemberDto.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/CreateTeamDto.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/MontaPageTeamDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/PatchTeam.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/Team.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/MetadataDto.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/TeamOrOperator.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/WalletTransactions/WalletTransaction.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Wallets/MontaPageWalletDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Wallets/Wallet.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Wallets/WalletDtoBalanceDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Webhooks/WebhookConfig.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Webhooks/WebhookEntry.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/Webhooks/WebhookEntryPayload.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ChargePointState.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ChargeType.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/DayOfWeek.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/KafkaEventType.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/OperatorRole.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/PlanServiceType.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/PriceGroupType.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/PricingType.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/SubscriptionState.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/TariffType.verified.cs (89%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/TeamMemberState.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/VisibilityType.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/VisibilityType1.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/VisibilityType3.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/AdditionalPricing.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Address.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/ChargePoint.verified.cs (99%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/ChargePointConnector.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/ChargePointDeeplinks.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Consumer.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Coordinates.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Currency.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/ErrorResponse.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Location.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Money.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/MontaPageMeta.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Operator.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/PriceGroup.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/PriceGroupAppliedTo.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/PriceGroupTag.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Pricing.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/PublicUser.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/Subscription.verified.cs (98%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Contracts/_Shared/SubscriptionServiceConfig.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs (89%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs (89%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs (85%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/GetChargeEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/GetChargeEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/GetChargesEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/GetChargesEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/PatchChargeEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/PatchChargeEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/RestartChargeEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/RestartChargeEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/StartChargeEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/StartChargeEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/StopChargeEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Charges/StopChargeEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Countries/GetCountriesEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Countries/GetCountriesEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Countries/GetCountryEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Countries/GetCountryEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs (86%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs (89%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Operators/GetOperatorEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Operators/GetOperatorEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Operators/GetOperatorsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Plans/GetPlanEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Plans/GetPlanEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Plans/GetPlansEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Plans/GetPlansEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/DeleteSiteEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/GetSiteEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/GetSiteEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/GetSitesEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/GetSitesEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/PatchSiteEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/PatchSiteEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/PostSiteEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Sites/PostSiteEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/GetTariffEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/DeleteTeamEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/GetTeamEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/GetTeamEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/GetTeamsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/GetTeamsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/PatchTeamEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/PatchTeamEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/PostTeamEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Teams/PostTeamEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs (95%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs (90%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Wallets/GetWalletEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Wallets/GetWalletEndpointResult.verified.cs (97%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Wallets/GetWalletsEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs (87%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs (93%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs (96%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs (86%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs (86%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs (92%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs (88%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs (91%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs (94%) rename test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/{MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated => Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated}/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs (96%) create mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/GlobalUsings.verified.cs delete mode 100644 test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/GlobalUsings.verified.cs diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj b/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj index 89d0febd..5e195f42 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Atc.Rest.ApiGenerator.CLI.Tests.csproj @@ -19,7 +19,7 @@ <Compile Remove="Scenarios\ExNsWithTask\VerifyServerAll\**" /> <Compile Remove="Scenarios\ExUsers\VerifyClient\**" /> <Compile Remove="Scenarios\ExUsers\VerifyServerAll\**" /> - <Compile Remove="Scenarios\MontaPartner\VerifyClient\**" /> + <Compile Remove="Scenarios\Monta\VerifyClient\**" /> <Compile Remove="Scenarios\PetStore\VerifyClient\**" /> <Compile Remove="Scenarios\PetStore\VerifyServerAll\**" /> <EmbeddedResource Remove="Scenarios\DemoSample\VerifyClient\**" /> @@ -32,7 +32,7 @@ <EmbeddedResource Remove="Scenarios\ExNsWithTask\VerifyServerAll\**" /> <EmbeddedResource Remove="Scenarios\ExUsers\VerifyClient\**" /> <EmbeddedResource Remove="Scenarios\ExUsers\VerifyServerAll\**" /> - <EmbeddedResource Remove="Scenarios\MontaPartner\VerifyClient\**" /> + <EmbeddedResource Remove="Scenarios\Monta\VerifyClient\**" /> <EmbeddedResource Remove="Scenarios\PetStore\VerifyClient\**" /> <EmbeddedResource Remove="Scenarios\PetStore\VerifyServerAll\**" /> <None Remove="Scenarios\DemoSample\VerifyClient\**" /> @@ -45,7 +45,7 @@ <None Remove="Scenarios\ExNsWithTask\VerifyServerAll\**" /> <None Remove="Scenarios\ExUsers\VerifyClient\**" /> <None Remove="Scenarios\ExUsers\VerifyServerAll\**" /> - <None Remove="Scenarios\MontaPartner\VerifyClient\**" /> + <None Remove="Scenarios\Monta\VerifyClient\**" /> <None Remove="Scenarios\PetStore\VerifyClient\**" /> <None Remove="Scenarios\PetStore\VerifyServerAll\**" /> </ItemGroup> diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/ApiGeneratorOptions.json b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/ApiGeneratorOptions.json similarity index 100% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/ApiGeneratorOptions.json rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/ApiGeneratorOptions.json diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/MontaPartner.yaml b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/Monta.yaml similarity index 100% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/MontaPartner.yaml rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/Monta.yaml diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs index f6b64224..a5806526 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithClientCredentialsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Auth; +namespace Monta.ApiClient.Generated.Contracts.Auth; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs index 7c39594d..72b8f61f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/RequestParameters/GetAccessTokenWithRefreshTokenParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Auth; +namespace Monta.ApiClient.Generated.Contracts.Auth; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/Token.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/Token.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/Token.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/Token.verified.cs index 6196c94c..0ce4721b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Auth/Token.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Auth/Token.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Auth; +namespace Monta.ApiClient.Generated.Contracts.Auth; /// <summary> /// Token. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs index 9ee27984..b02eb1b7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/ChargeAuthToken.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// ChargeAuthToken. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs index 4965d32d..0a75267d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/CreateChargeAuthToken.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// CreateChargeAuthToken. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs index b0f02674..acaf50bb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/MontaPageChargeAuthTokenDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// MontaPageChargeAuthTokenDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs index d8527f2d..40e1b84e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/PatchChargeAuthToken.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// PatchChargeAuthToken. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs index c6323be3..84c28ee3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/BlockChargeAuthTokenParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs index 1203ed27..029a0d77 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/CreateChargeAuthTokenParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs index 74399b77..a8856451 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/DeleteChargeAuthTokenParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs index 444facbf..64e56ad8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokenParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs index cfd52c5f..394013b3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/GetChargeAuthTokensParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs index bb037c74..1866de56 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/PatchChargeAuthTokenParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs index 8be53498..d1e4c815 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargeAuthTokens/RequestParameters/UnblockChargeAuthTokenParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs index ad550b82..dbf3cfa5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/ChargePointBrand.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; +namespace Monta.ApiClient.Generated.Contracts.ChargePointBrands; /// <summary> /// ChargePointBrand. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs index f6878c2e..e7be2e20 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/MontaPageChargePointBrandDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; +namespace Monta.ApiClient.Generated.Contracts.ChargePointBrands; /// <summary> /// MontaPageChargePointBrandDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs index d1837a52..a0a948af 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; +namespace Monta.ApiClient.Generated.Contracts.ChargePointBrands; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs index 4e9d556c..e18398e2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointBrands/RequestParameters/GetChargePointBrandsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; +namespace Monta.ApiClient.Generated.Contracts.ChargePointBrands; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs index b5dd1071..568d59f5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointConnectors/MontaPageChargePointConnectorDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointConnectors; +namespace Monta.ApiClient.Generated.Contracts.ChargePointConnectors; /// <summary> /// MontaPageChargePointConnectorDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs index b1cc6e63..35540fbd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointConnectors/RequestParameters/GetConnectorParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointConnectors; +namespace Monta.ApiClient.Generated.Contracts.ChargePointConnectors; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs index be7e2bf8..cf8613de 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/ChargePointIntegration.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Contracts.ChargePointIntegrations; /// <summary> /// ChargePointIntegration. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs index faa9fbeb..b2634d70 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/CreateOrUpdateChargePointIntegration.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Contracts.ChargePointIntegrations; /// <summary> /// CreateOrUpdateChargePointIntegration. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs index 3cc60f95..5d66ccde 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/MontaPageChargePointIntegrationDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Contracts.ChargePointIntegrations; /// <summary> /// MontaPageChargePointIntegrationDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs index af530d1a..531938bb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/DeleteChargePointIntegrationParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Contracts.ChargePointIntegrations; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs index 74b9ffbb..aa15dc39 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Contracts.ChargePointIntegrations; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs index f73169b6..38aa6991 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/GetChargePointIntegrationsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Contracts.ChargePointIntegrations; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs index 5b696fa3..44b1862a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointIntegrations/RequestParameters/PostOrPutChargePointIntegrationParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Contracts.ChargePointIntegrations; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs index 786d364a..f69530d9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModel.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; +namespace Monta.ApiClient.Generated.Contracts.ChargePointModels; /// <summary> /// ChargePointModel. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs index 571668c6..1ec9ce5a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelDtoChargePointBrandDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; +namespace Monta.ApiClient.Generated.Contracts.ChargePointModels; /// <summary> /// ChargePointModelDtoChargePointBrandDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs index 96b8c90f..ef0cae86 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/ChargePointModelFeature.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; +namespace Monta.ApiClient.Generated.Contracts.ChargePointModels; /// <summary> /// ChargePointModelFeature. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs index 1853830d..da7b74eb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/MontaPageChargePointModelDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; +namespace Monta.ApiClient.Generated.Contracts.ChargePointModels; /// <summary> /// MontaPageChargePointModelDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs index 1c8ea0f3..7a3c3086 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; +namespace Monta.ApiClient.Generated.Contracts.ChargePointModels; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs index 85b872d3..1a26ab16 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePointModels/RequestParameters/GetChargePointModelsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; +namespace Monta.ApiClient.Generated.Contracts.ChargePointModels; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs index aedfec1b..5162201d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/CreateChargePoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// CreateChargePoint. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs index ed80ecab..710ae8e8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// MapResult. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs index 888093ee..a00725a3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultChargePoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Reduced model of Charge Point. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs index 6cc65189..6136723f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultCluster.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Cluster model. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs index 991313c8..53869087 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MapResultSite.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Reduced model of Site. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs index 1c1472f2..6baf453b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/MontaPageChargePointDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// MontaPageChargePointDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs index a7b195fb..f5a485a7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/PatchChargePoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// PatchChargePoint. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs index c21d95b2..8b5e1f77 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/DeleteChargePointParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs index 0b84cc75..c63b4f2b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointMapParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs index 41a76c0b..6deb2c0e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs index 3f2a763a..0cdeadea 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/GetChargePointsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs index 46a1c62b..ee93d9dd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PatchChargePointParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs index bd55a24e..fa4dbb0d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/ChargePoints/RequestParameters/PostChargePointParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.ChargePoints; +namespace Monta.ApiClient.Generated.Contracts.ChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs index 82bc8da9..0bf46a9b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Breakdown.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Breakdown. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs index 8e050efa..cd2eef0d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/BreakdownSummary.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// BreakdownSummary. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Charge.verified.cs similarity index 99% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Charge.verified.cs index 0618d566..43660980 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Charge.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Charge.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Charge. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs index ad629aca..565eb643 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeAuthentication.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// ChargeAuthentication. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs index 2967ec0d..530d76c5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeBreakdown.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// ChargeBreakdown. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs index f8b554d7..582da7a7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargeCost.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// ChargeCost. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs index 91811756..717b366b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargePrice.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// ChargePrice. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs index d70f4a01..65637d8a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsight.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// ChargesInsight. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs index f04eef9a..a4444f7f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsightEntry.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// ChargesInsightEntry. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs index 342df4cf..22fc3080 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/ChargesInsightSummary.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// ChargesInsightSummary. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Component.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Component.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Component.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Component.verified.cs index 151daad4..bf6e7f29 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/Component.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/Component.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Component. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs index 1f46b569..58165751 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/DetailedBreakdown.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// DetailedBreakdown. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs index e13aa0e7..59a26e79 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/GenericPaymentSession.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// GenericPaymentSession. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs index 976182cb..62ce6b1b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/KwhPerHour.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// KwhPerHour. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs index d69ab05c..cf4613ea 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/MontaPageChargeDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// MontaPageChargeDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs index 7f6e8d85..bef2a855 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PatchCharge.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// PatchCharge. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs index 3a5adf4d..fc7e9055 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PayingTeam.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// PayingTeam. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs index 0f5c955e..8e64f40b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/PublicChargePoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// PublicChargePoint. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs index a59bd125..214e8a0b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeBreakdownParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs index 2b5ab532..f2675a0b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargeParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs index c57c99b3..220b64ec 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/GetChargesParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs index 20459251..0e35a2db 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/PatchChargeParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs index d0e1b3f1..3eb794fc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/RestartChargeParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs index 68d845de..f50ffee4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/StartChargeParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs index 6cc05593..fb846e57 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/RequestParameters/StopChargeParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs index b987b467..cb1c51de 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/SimpleTeamMemberDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// SimpleTeamMemberDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs index f6da3a04..af2047bf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/SponsorTeam.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// SponsorTeam. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs index 15cf68c3..bfd9c74c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/StartChargeRequest.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// StartChargeRequest. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs index 11ea1f84..7578f787 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Charges/StateOfCharge.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Charges; +namespace Monta.ApiClient.Generated.Contracts.Charges; /// <summary> /// StateOfCharge. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/Country.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/Country.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/Country.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/Country.verified.cs index 71fa20c2..6f76dd0c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/Country.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/Country.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Countries; +namespace Monta.ApiClient.Generated.Contracts.Countries; /// <summary> /// Country. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs index 5fd2d50d..c62edb89 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/MontaPageCountryDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Countries; +namespace Monta.ApiClient.Generated.Contracts.Countries; /// <summary> /// MontaPageCountryDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs index 11451b53..3494de88 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Countries/RequestParameters/GetCountryParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Countries; +namespace Monta.ApiClient.Generated.Contracts.Countries; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs index 64f35068..215924fd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/CountryArea.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.CountryAreas; +namespace Monta.ApiClient.Generated.Contracts.CountryAreas; /// <summary> /// CountryArea. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs index 7362ea19..e624a391 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/MontaPageCountryAreaDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.CountryAreas; +namespace Monta.ApiClient.Generated.Contracts.CountryAreas; /// <summary> /// MontaPageCountryAreaDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs index 8b3ee4ae..98b097b3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountriesAreasParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.CountryAreas; +namespace Monta.ApiClient.Generated.Contracts.CountryAreas; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs index b4a65f87..691cd116 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/CountryAreas/RequestParameters/GetCountryAreaParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.CountryAreas; +namespace Monta.ApiClient.Generated.Contracts.CountryAreas; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs index 601e0d93..5cedee68 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/CurrencyDto3.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; +namespace Monta.ApiClient.Generated.Contracts.Currencies; /// <summary> /// CurrencyDto3. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs index 20e80db4..abd492ae 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/CurrencyDto4.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; +namespace Monta.ApiClient.Generated.Contracts.Currencies; /// <summary> /// CurrencyDto4. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs index 5d05d179..0c92b90e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/MontaPageCurrencyDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; +namespace Monta.ApiClient.Generated.Contracts.Currencies; /// <summary> /// MontaPageCurrencyDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs index bfa85c39..9bdc16ec 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrenciesParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; +namespace Monta.ApiClient.Generated.Contracts.Currencies; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs index 89e7af1a..b80cee64 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Currencies/RequestParameters/GetCurrencyParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Currencies; +namespace Monta.ApiClient.Generated.Contracts.Currencies; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs index 1b2fbf30..571367bc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReport.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Insights; +namespace Monta.ApiClient.Generated.Contracts.Insights; /// <summary> /// ChargesInsightChargerReport. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs index cc1d7a37..71801590 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightChargerReportDtoConsumption.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Insights; +namespace Monta.ApiClient.Generated.Contracts.Insights; /// <summary> /// ChargesInsightChargerReportDtoConsumption. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs index 37e6a422..1a3554f3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReport.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Insights; +namespace Monta.ApiClient.Generated.Contracts.Insights; /// <summary> /// ChargesInsightDriverReport. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs index 631a696e..3c78aaf3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/ChargesInsightDriverReportDtoConsumption.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Insights; +namespace Monta.ApiClient.Generated.Contracts.Insights; /// <summary> /// ChargesInsightDriverReportDtoConsumption. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs index 76ac5f11..c0008fe1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightChargerReportDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Insights; +namespace Monta.ApiClient.Generated.Contracts.Insights; /// <summary> /// MontaPageChargesInsightChargerReportDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs index e6d44050..a43d3fe9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/MontaPageChargesInsightDriverReportDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Insights; +namespace Monta.ApiClient.Generated.Contracts.Insights; /// <summary> /// MontaPageChargesInsightDriverReportDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs index 6150df42..40bf9ef5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesChargerReportParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Insights; +namespace Monta.ApiClient.Generated.Contracts.Insights; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs index a5cde79d..f91bfade 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Insights/RequestParameters/GetInsightsChargesDriverReportParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Insights; +namespace Monta.ApiClient.Generated.Contracts.Insights; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs index c6d3f407..6dc84d37 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/CreateInstallerJobDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +namespace Monta.ApiClient.Generated.Contracts.InstallerJobs; /// <summary> /// CreateInstallerJobDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs index 15532b85..20299ac4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/InstallerJob.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +namespace Monta.ApiClient.Generated.Contracts.InstallerJobs; /// <summary> /// InstallerJob. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs index 97420bfc..6a70db0b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/InstallerJobTask.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +namespace Monta.ApiClient.Generated.Contracts.InstallerJobs; /// <summary> /// InstallerJobTask. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs index c2f39e3e..fdbbb0ea 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/MontaPageInstallerJobDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +namespace Monta.ApiClient.Generated.Contracts.InstallerJobs; /// <summary> /// MontaPageInstallerJobDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs index 24f0dfc1..22980dc5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/DeleteInstallerJobParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +namespace Monta.ApiClient.Generated.Contracts.InstallerJobs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs index 9d3b61fa..6b2ffe9c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +namespace Monta.ApiClient.Generated.Contracts.InstallerJobs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs index a2389572..58d67e0c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/GetInstallerJobsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +namespace Monta.ApiClient.Generated.Contracts.InstallerJobs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs index a1d2edf2..ddbc0ebc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/InstallerJobs/RequestParameters/PostInstallerJobParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; +namespace Monta.ApiClient.Generated.Contracts.InstallerJobs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs index 265f9b0e..8685376f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/MontaPageOperatorDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Operators; +namespace Monta.ApiClient.Generated.Contracts.Operators; /// <summary> /// MontaPageOperatorDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs index 38c06375..d803cae4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Operators; +namespace Monta.ApiClient.Generated.Contracts.Operators; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs index 139be1b0..faee74e0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Operators/RequestParameters/GetOperatorsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Operators; +namespace Monta.ApiClient.Generated.Contracts.Operators; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs index 9fe6fcb7..91b05fe9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/MontaPagePaymentTerminalDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; +namespace Monta.ApiClient.Generated.Contracts.PaymentTerminals; /// <summary> /// MontaPagePaymentTerminalDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs index d9b0712d..16eccf08 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/PaymentTerminal.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; +namespace Monta.ApiClient.Generated.Contracts.PaymentTerminals; /// <summary> /// PaymentTerminal. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs index 8f460a1f..31c826f8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; +namespace Monta.ApiClient.Generated.Contracts.PaymentTerminals; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs index dca95c1f..91258c0a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PaymentTerminals/RequestParameters/GetPaymentTerminalsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; +namespace Monta.ApiClient.Generated.Contracts.PaymentTerminals; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs index ee63cd25..2177e079 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/MontaPagePlanDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Plans; +namespace Monta.ApiClient.Generated.Contracts.Plans; /// <summary> /// MontaPagePlanDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/Plan.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/Plan.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/Plan.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/Plan.verified.cs index 592598e3..7f0f1abe 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/Plan.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/Plan.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Plans; +namespace Monta.ApiClient.Generated.Contracts.Plans; /// <summary> /// Plan. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs index cad7727a..93023eed 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/PlanPrice.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Plans; +namespace Monta.ApiClient.Generated.Contracts.Plans; /// <summary> /// PlanPrice. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs index 7fa4c89f..ac96ce26 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/PlanServiceConfig.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Plans; +namespace Monta.ApiClient.Generated.Contracts.Plans; /// <summary> /// PlanServiceConfig. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs index 7554e76e..f353b4f6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlanParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Plans; +namespace Monta.ApiClient.Generated.Contracts.Plans; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs index 0540a67f..36ddc79b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Plans/RequestParameters/GetPlansParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Plans; +namespace Monta.ApiClient.Generated.Contracts.Plans; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs index 0c32d914..3a548a20 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/CreatePriceGroupTag.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +namespace Monta.ApiClient.Generated.Contracts.PriceGroupTags; /// <summary> /// CreatePriceGroupTag. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs index fd329dae..958a1999 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/MontaPagePriceGroupTagDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +namespace Monta.ApiClient.Generated.Contracts.PriceGroupTags; /// <summary> /// MontaPagePriceGroupTagDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs index c9468a7c..30ffd3df 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/PatchPriceGroupTag.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +namespace Monta.ApiClient.Generated.Contracts.PriceGroupTags; /// <summary> /// PatchPriceGroupTag. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs index b28af855..c9dd626b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/DeletePriceGroupTagParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +namespace Monta.ApiClient.Generated.Contracts.PriceGroupTags; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs index e3f0e50e..2df8b924 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +namespace Monta.ApiClient.Generated.Contracts.PriceGroupTags; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs index 1310cd6e..0e5181dc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/GetPriceGroupTagsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +namespace Monta.ApiClient.Generated.Contracts.PriceGroupTags; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs index 5d52676f..3f1f3813 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PatchPriceGroupTagParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +namespace Monta.ApiClient.Generated.Contracts.PriceGroupTags; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs index 15b0615b..7cb9ba5b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroupTags/RequestParameters/PostPriceGroupTagParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; +namespace Monta.ApiClient.Generated.Contracts.PriceGroupTags; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs index da0782fa..d4037ed7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/ApplyPriceGroup.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// ApplyPriceGroup. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs index 00578180..0970ce4b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateAdditionalPricingDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// CreateAdditionalPricingDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs index 07e171e8..36a26a01 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePriceGroupDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// CreateOrUpdatePriceGroupDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs index a768e8a8..b671b7b1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/CreateOrUpdatePricingDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// CreateOrUpdatePricingDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs index 7ca0b235..f97c482c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponse.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// MontaAppResponse. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs index 9cc74aeb..9c48bd21 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetail.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// MontaAppResponseErrorDetail. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs index 7b7cd2e7..22685876 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaAppResponseErrorDetailBody.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// MontaAppResponseErrorDetailBody. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs index 20cd8fe0..7cbd17f7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/MontaPagePriceGroupDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// MontaPagePriceGroupDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs index 8828f97b..ad20c954 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/ApplyPriceGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs index ab80002e..f380a1df 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/CreatePriceGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs index b43a3707..a873ed20 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/DeletePriceGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs index 370bbad0..be164dde 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs index 7553fa06..c4297822 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/GetPriceGroupsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs index 50d64215..341ab11d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/SetDefaultPriceGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs index e37ac30e..60eb51bb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/PriceGroups/RequestParameters/UpdatePriceGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.PriceGroups; +namespace Monta.ApiClient.Generated.Contracts.PriceGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs index 9deb9637..ceb96fb4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/PricesForecast.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Prices; +namespace Monta.ApiClient.Generated.Contracts.Prices; /// <summary> /// PricesForecast. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs index a9009922..59c9fa00 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/PricesForecastEntry.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Prices; +namespace Monta.ApiClient.Generated.Contracts.Prices; /// <summary> /// PricesForecastEntry. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs index ff34007a..6d34dd4b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Prices/RequestParameters/GetPricesForecastParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Prices; +namespace Monta.ApiClient.Generated.Contracts.Prices; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs index ea40c6ae..d496b8e1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/CreateSite.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// CreateSite. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs index 3da7f841..edd14973 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/MontaPageSiteDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// MontaPageSiteDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs index e84d10ae..bc3c7578 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/PatchSite.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// PatchSite. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs index 775b55a3..4d8c374c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/DeleteSiteParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs index 29d565e5..1c17d01a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSiteParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs index 3fce41eb..41439f01 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/GetSitesParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs index ab090702..3d86ca26 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/PatchSiteParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs index 9168121e..02fe4892 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/RequestParameters/PostSiteParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/Site.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/Site.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/Site.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/Site.verified.cs index 0c3b365a..211422b1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Sites/Site.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Sites/Site.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Sites; +namespace Monta.ApiClient.Generated.Contracts.Sites; /// <summary> /// Site. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs index 26e4c7cb..9901ea58 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/CreateSponsoredChargePointDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// CreateSponsoredChargePointDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs index 0be94abd..fce75189 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/MontaPageSponsoredChargePointDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// MontaPageSponsoredChargePointDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs index d268d2b5..3e5cb069 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/PatchSponsoredChargePoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// Note: Only use Optional for fields that can bet set null. Optional will insure jackson can differentiate between a field that was set to NULL X Field that was never present on the request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs index c1abe83a..57715d71 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/DeleteSponsoredChargePointParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs index b91765b5..95c7cc6d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs index 3fee68d3..423b246a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/GetSponsoredChargePointsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs index b65cd5e3..dd57d93a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PatchSponsoredChargePointParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs index b883e8c5..49c45af0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/RequestParameters/PostSponsoredChargePointParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs index ea85cfe4..d16c0cde 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// SponsoredChargePoint. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs index 378a3dff..7d541ac9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SponsoredChargePoints/SponsoredChargePointData.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; /// <summary> /// SponsoredChargePointData. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs index 19ae3ee2..49f3d7a1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/MontaPageSubscriptionPurchaseDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; +namespace Monta.ApiClient.Generated.Contracts.SubscriptionPurchases; /// <summary> /// MontaPageSubscriptionPurchaseDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs index f8709af4..61791776 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchaseParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; +namespace Monta.ApiClient.Generated.Contracts.SubscriptionPurchases; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs index 8c4d390e..e8b99b9e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/RequestParameters/GetSubscriptionPurchasesParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; +namespace Monta.ApiClient.Generated.Contracts.SubscriptionPurchases; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs index 48eaa87e..984c54c7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/SubscriptionPurchases/SubscriptionPurchase.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; +namespace Monta.ApiClient.Generated.Contracts.SubscriptionPurchases; /// <summary> /// SubscriptionPurchase. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs index 9b25ba2e..6912ec2b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/ApproveSubscription.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// ApproveSubscription. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs index 027fb4e4..01dc9593 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/CreateSubscription.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// CreateSubscription. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs index 9a9e6978..79f01745 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/MontaPageSubscriptionDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// MontaPageSubscriptionDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs index 01838717..bb144fb1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/ApproveSubscriptionParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs index 49edb6d3..374597d1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/CreateSubscriptionParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs index e3dcb6ea..648dba3b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/DeleteSubscriptionParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs index 23a36a5e..8cbd133d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs index 428535e7..f27899cb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/RequestParameters/GetSubscriptionsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs index da347ffd..8f13d181 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Subscriptions/Unit.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Subscriptions; +namespace Monta.ApiClient.Generated.Contracts.Subscriptions; /// <summary> /// Unit. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs index d283d5e6..a34cd03c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/CreateTariffPeriodGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Contracts.TariffPeriodGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs index d46a4210..2822abe5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/DeleteTariffPeriodGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Contracts.TariffPeriodGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs index d7acb682..3ff2d930 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Contracts.TariffPeriodGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs index 00abbd2d..42f0754f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/GetPeriodGroupsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Contracts.TariffPeriodGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs index 993a9e6b..b3df17d5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/RequestParameters/UpdateTariffPeriodGroupParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Contracts.TariffPeriodGroups; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs index 8c7bfbaa..d619700d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffPeriodGroups/TariffPeriodGroup.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Contracts.TariffPeriodGroups; /// <summary> /// TariffPeriodGroup. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs index c80122b0..a0cf23f0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/PageTariffRecurringPeriodDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// PageTariffRecurringPeriodDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs index 7d0372fe..1cb48be5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/CreateTariffRecurringPeriodsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs index bdb5b326..d939f269 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/DeleteTariffRecurringPeriodParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs index c26244e1..fee095cb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs index f0caf6fb..6a6f6390 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/GetTariffRecurringPeriodsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs index 839a57d7..0a07a7b9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/RequestParameters/UpdateTariffRecurringPeriodsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs index 7e0f6188..fd8f01bb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriod.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// TariffRecurringPeriod. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs index 271fe919..08ffcbb4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodCreateRequestDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// TariffRecurringPeriodCreateRequestDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs index a964eca9..d5fb1def 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TariffRecurringPeriods/TariffRecurringPeriodUpdateRequestDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; /// <summary> /// TariffRecurringPeriodUpdateRequestDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs index b2364ef0..437083ba 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/CreateTariffPricesRequest.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// CreateTariffPricesRequest. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs index 5705884c..d70a46cc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/CreateTariffRequest.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// CreateTariffRequest. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs index 161b8bf6..be711f88 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/FullTariff.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// FullTariff. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs index 7f58c054..b92db095 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/PairStringBigDecimal.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// PairStringBigDecimal. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs index 634694cd..564e0c40 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/Price.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// Price. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs index 9b783aad..080ee099 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/PriceSpecification.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// PriceSpecification. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs index 9ab456de..a4b6bbd2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs index 092f6ba0..5e9b75ae 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/CreateTariffPricesParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs index 9643d970..50d6e8c8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetAllTariffsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs index fdf9bc80..c2e2ff64 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/GetTariffParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs index 58067b30..badaf564 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/RequestParameters/UpdateTariffParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs index f3461aad..c4ccbaaf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/TariffDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// TariffDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs index bf414a4f..376283ab 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Tariffs/UpdateTariffRequest.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Tariffs; +namespace Monta.ApiClient.Generated.Contracts.Tariffs; /// <summary> /// UpdateTariffRequest. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs index 4ee637ab..51d1ecb7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/CreateTeamMember.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// CreateTeamMember. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs index 34a9d500..cdf1d449 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/MontaPageTeamMemberDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// MontaPageTeamMemberDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs index 41d11e41..3e56f3ca 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/PatchTeamMember.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// PatchTeamMember. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs index 78baecf8..b8d31cf1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/DeleteTeamMemberParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs index e72b558d..ec249f4c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMemberParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs index eae248dc..2ff54961 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/GetTeamMembersParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs index c15a5507..f503d41d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PatchTeamMemberParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs index be92a9f2..bba9a289 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/PostTeamMemberParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs index 33f5fc39..9426688d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/RequestParameters/ResendTeamMemberInviteParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs index c3ee871e..f62ec978 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/TeamMembers/TeamMemberDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.TeamMembers; +namespace Monta.ApiClient.Generated.Contracts.TeamMembers; /// <summary> /// TeamMemberDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs index 54adbc0b..9dd7fe8b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/CreateTeamDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// CreateTeamDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs index 9d6d44ab..126bf576 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/MontaPageTeamDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// MontaPageTeamDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs index aaa2497a..99eb2395 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/PatchTeam.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// PatchTeam. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs index 7b4f2727..50d253a2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/DeleteTeamParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs index 5c7af45c..3fcbe0a2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs index 1ae004f6..cefeef68 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/GetTeamsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs index 2c70c438..f191d9be 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/PatchTeamParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs index b16959df..a08f08e4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/RequestParameters/PostTeamParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/Team.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/Team.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/Team.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/Team.verified.cs index 5925f4ea..643c15e6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/Team.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/Team.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// Team. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs index c25aa04b..de366cd3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Teams/TeamDtoTeamAddressDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Teams; +namespace Monta.ApiClient.Generated.Contracts.Teams; /// <summary> /// TeamDtoTeamAddressDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs index 3b4a0b9c..08e15714 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/MetadataDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// MetadataDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs index 2d4bd4d2..a3547e02 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/MontaPageWalletTransactionDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// MontaPageWalletTransactionDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs index 8beeec02..2151d4f4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/OperatorAdjustmentTransaction.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// OperatorAdjustmentTransaction. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs index 8c8a773a..55cec5e2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/PatchWalletTransaction.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// PatchWalletTransaction. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs index 4776b8ea..c314b08d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs index bc060ad2..68d3bf5f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/GetWalletTransactionsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs index 2e67b01a..a589b771 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PatchTransactionParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs index 93a938b7..95d0cd00 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/RequestParameters/PostOperatorAdjustmentTransactionParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs index ca140770..dfff0261 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/TeamOrOperator.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// TeamOrOperator. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs index 6f71c87a..b50fbd3f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/WalletTransactions/WalletTransaction.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; +namespace Monta.ApiClient.Generated.Contracts.WalletTransactions; /// <summary> /// WalletTransaction. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs index bb4f28c5..b2de8b54 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/MontaPageWalletDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; +namespace Monta.ApiClient.Generated.Contracts.Wallets; /// <summary> /// MontaPageWalletDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs index 9b86c720..02eda8bf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; +namespace Monta.ApiClient.Generated.Contracts.Wallets; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs index 1eac59aa..06811a62 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/RequestParameters/GetWalletsParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; +namespace Monta.ApiClient.Generated.Contracts.Wallets; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs index 4395b7cd..368dce5b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/Wallet.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; +namespace Monta.ApiClient.Generated.Contracts.Wallets; /// <summary> /// Wallet. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs index faf33c97..9a44d795 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Wallets/WalletDtoBalanceDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Wallets; +namespace Monta.ApiClient.Generated.Contracts.Wallets; /// <summary> /// WalletDtoBalanceDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs index 4a5d558f..c74b5be4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/MontaPageWebhookEntryDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; +namespace Monta.ApiClient.Generated.Contracts.Webhooks; /// <summary> /// MontaPageWebhookEntryDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs index 0db2814c..009bf15f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntries1Parameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; +namespace Monta.ApiClient.Generated.Contracts.Webhooks; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs index c28c4fd2..73b1aff2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/GetWebhookEntriesParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; +namespace Monta.ApiClient.Generated.Contracts.Webhooks; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs index 08dac550..885ed964 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/RequestParameters/UpdateWebhookConfigParameters.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; +namespace Monta.ApiClient.Generated.Contracts.Webhooks; /// <summary> /// Parameters for operation request. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs index 73c2641d..6de7c3b4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookConfig.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; +namespace Monta.ApiClient.Generated.Contracts.Webhooks; /// <summary> /// WebhookConfig. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs index 9e288b88..ac4108ec 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntry.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; +namespace Monta.ApiClient.Generated.Contracts.Webhooks; /// <summary> /// WebhookEntry. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs index 001d10f4..bcc7099c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntryErrorPayload.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; +namespace Monta.ApiClient.Generated.Contracts.Webhooks; /// <summary> /// WebhookEntryErrorPayload. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs index 115c5f29..c5b2be4a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/Webhooks/WebhookEntryPayload.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts.Webhooks; +namespace Monta.ApiClient.Generated.Contracts.Webhooks; /// <summary> /// WebhookEntryPayload. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs index 510b6c34..639b49b0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/AdditionalPricingType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: AdditionalPricingType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs index 61d60a99..d805997f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeAuthenticationType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ChargeAuthenticationType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs index 7acba600..98a730ae 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationStateDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ChargePointIntegrationStateDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs index 6763816e..11a7632f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointIntegrationType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ChargePointIntegrationType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs index 9e4e5298..fcc50cd7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargePointState.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ChargePointState. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs index 5b17e8bd..aa23389b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeStateDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ChargeStateDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs index c834b8dc..22df3974 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargeType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ChargeType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs index 54b01251..b35c7559 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightEntryTypeDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ChargesInsightEntryTypeDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs index cf3cbd33..e4ac52b4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ChargesInsightTypeDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ChargesInsightTypeDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs index b8931398..54cd8123 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ComponentMetadataDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs index afb8bd22..d98c8a24 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentMetadataTypeDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ComponentMetadataTypeDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs index 1d125804..b6cce361 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ComponentTypeDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ComponentTypeDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs index 8b0adcdb..5262868d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/CountryAreaLevel.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: CountryAreaLevel. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs index 1a6eae79..5a991be3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/DayOfWeek.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: DayOfWeek. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs index 98252954..5916bc76 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/DriverReportDatesFilteredBy.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: DriverReportDatesFilteredBy. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs index e1a31e69..4e1ed738 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/ElectricCurrentType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: ElectricCurrentType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs index eb56717f..e89e7e17 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/KafkaEventType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: KafkaEventType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs index e1fd0416..4b618a7d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/MontaHttpStatus.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: MontaHttpStatus. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs index b2eec0aa..3d0ca3da 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/OperatorRole.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: OperatorRole. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs index 39ee73c9..70b46007 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PaymentTerminalType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: PaymentTerminalType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs index 98a6598d..cf07c1f7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicableFor.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: PlanApplicableFor. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs index dd31ea4b..559c084c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanApplicationAudience.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: PlanApplicationAudience. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs index 946b7f9a..25f8b10a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanPriceModel.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: PlanPriceModel. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs index b7a88f04..a66cf159 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PlanServiceType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: PlanServiceType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs index a28ac6c3..8e872829 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PriceGroupType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: PriceGroupType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs index c07e4e2e..23868cd2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/PricingType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: PricingType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs index de96b203..eca54f78 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SponsoredChargePointPayoutType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: SponsoredChargePointPayoutType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs index 0655cdab..6dd6f009 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionCustomerType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: SubscriptionCustomerType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs index b7d7e4e6..f0133397 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionPurchaseTypeDto.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: SubscriptionPurchaseTypeDto. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs index cb4082fe..9139300a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/SubscriptionState.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: SubscriptionState. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs index a365d972..2b7991d3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TariffCustomerType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: TariffCustomerType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs similarity index 89% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs index 64155cd3..85187fbc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TariffType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: TariffType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs index 81e0980b..2d51595c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberAccess.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: TeamMemberAccess. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs index bdcfeec6..9e718d62 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberRole.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: TeamMemberRole. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs index 239b3f43..8bddc6fa 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamMemberState.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: TeamMemberState. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs index ee9e0977..4229967d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamTypeCreatable.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: TeamTypeCreatable. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs index 76b25cef..d1b18593 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/TeamWalletChargePaymentType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: TeamWalletChargePaymentType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs index 0f21efd3..6ff30264 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: VisibilityType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs index 5a1f335f..c3d5e22e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType1.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: VisibilityType1. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs index 1ebb72a8..505b2d54 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/VisibilityType3.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: VisibilityType3. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs index 07f66014..765197ab 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionGroup.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: WalletTransactionGroup. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs index 01e76350..bf00ca2e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionReferenceType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: WalletTransactionReferenceType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs index 6f12b667..8e5f43ef 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WalletTransactionState.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: WalletTransactionState. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs index 4439aa52..ab40da61 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryEventType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: WebhookEntryEventType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs index b1af82d3..ba745105 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryPayloadEntityType.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: WebhookEntryPayloadEntityType. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs index 4e991a83..19eb7b25 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_EnumerationTypes/WebhookEntryStatus.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Enumeration: WebhookEntryStatus. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs index 501a530a..bac4fa8c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/AdditionalPricing.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// AdditionalPricing. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Address.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Address.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Address.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Address.verified.cs index bc362856..85c30eb2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Address.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Address.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Address. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs similarity index 99% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs index 60e9bfc5..040d5194 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// ChargePoint. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs index df47d70a..b55763a0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePointConnector.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// ChargePointConnector. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs index ecbbbbbb..b9f52b96 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ChargePointDeeplinks.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// ChargePointDeeplinks. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs index d954b2b7..e471363c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Consumer.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Consumer. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs index d81cf7f0..65763e3c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Coordinates.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Coordinates. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs index 95e0ad9c..e1deadc9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/CreatedOrUpdateAddress.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// CreatedOrUpdateAddress. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs index 2c410a1c..adbdb1c9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Currency.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Currency. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs index bf87c5d7..6a6b6f17 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/ErrorResponse.verified.cs @@ -1,4 +1,4 @@ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Represents an error response. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Location.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Location.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Location.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Location.verified.cs index 0e94ea92..23387956 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Location.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Location.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Location. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Money.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Money.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Money.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Money.verified.cs index c334a384..9816fd0e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Money.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Money.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Money. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs index 64b18729..4b13fdae 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/MontaPageMeta.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// MontaPageMeta. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs index 036ae7da..75c92499 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Operator.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Operator. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs index d6f8a22e..7c90e75d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroup.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// PriceGroup. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs index 93486f29..0e5d527d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroupAppliedTo.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// PriceGroupAppliedTo. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs index edd48b45..b524c3ec 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PriceGroupTag.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// PriceGroupTag. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs index 9f2abeb1..77fc7a2d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Pricing.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Pricing. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs index 63fe19a1..4505f764 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/PublicUser.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// PublicUser. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs similarity index 98% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs index 4c2c8afc..872ac62a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/Subscription.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// Subscription. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs index 253133f4..7f6459ee 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Contracts/_Shared/SubscriptionServiceConfig.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Contracts; +namespace Monta.ApiClient.Generated.Contracts; /// <summary> /// SubscriptionServiceConfig. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs index a5ccedc8..3eb8bb46 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Auth; +namespace Monta.ApiClient.Generated.Endpoints.Auth; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetAccessTokenWithClientCredentialsEndpoint( public async Task<GetAccessTokenWithClientCredentialsEndpointResult> ExecuteAsync( GetAccessTokenWithClientCredentialsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs index 167eefb9..fb681a52 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithClientCredentialsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Auth; +namespace Monta.ApiClient.Generated.Endpoints.Auth; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs index 1ce087b5..68d3fbd6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Auth; +namespace Monta.ApiClient.Generated.Endpoints.Auth; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetAccessTokenWithRefreshTokenEndpoint( public async Task<GetAccessTokenWithRefreshTokenEndpointResult> ExecuteAsync( GetAccessTokenWithRefreshTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs index dc6174e3..d5f758a9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/GetAccessTokenWithRefreshTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Auth; +namespace Monta.ApiClient.Generated.Endpoints.Auth; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs similarity index 89% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs index d4510187..73524264 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Auth.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetAccessTokenWithClientCredentialsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetAccessTokenWithClientCredentialsEndpointResult> ExecuteAsync( GetAccessTokenWithClientCredentialsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs index b98d04bd..70e12cff 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithClientCredentialsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Auth.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs similarity index 89% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs index 9cde18c9..2462747b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Auth.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetAccessTokenWithRefreshTokenEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetAccessTokenWithRefreshTokenEndpointResult> ExecuteAsync( GetAccessTokenWithRefreshTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs index d3ae0873..c7f594ad 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Auth/Interfaces/IGetAccessTokenWithRefreshTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Auth.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs index 174c9703..b2472f42 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public BlockChargeAuthTokenEndpoint( public async Task<BlockChargeAuthTokenEndpointResult> ExecuteAsync( BlockChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs index 9c7b5709..b7485f4d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/BlockChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs index 59bc1b38..2e9f3aa9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public CreateChargeAuthTokenEndpoint( public async Task<CreateChargeAuthTokenEndpointResult> ExecuteAsync( CreateChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs index c714d37e..ad8a36b7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/CreateChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs index a09b1b09..2497e7cf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteChargeAuthTokenEndpoint( public async Task<DeleteChargeAuthTokenEndpointResult> ExecuteAsync( DeleteChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs index 05df0054..05c1a1d0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/DeleteChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs index 51de19e1..5320c7c2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargeAuthTokenEndpoint( public async Task<GetChargeAuthTokenEndpointResult> ExecuteAsync( GetChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs index 33fe843f..227cd713 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs index ba5f4025..5b2caa4b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargeAuthTokensEndpoint( public async Task<GetChargeAuthTokensEndpointResult> ExecuteAsync( GetChargeAuthTokensParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs index e15111b2..5e4f8add 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/GetChargeAuthTokensEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs index b453260f..9ebed26f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IBlockChargeAuthTokenEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<BlockChargeAuthTokenEndpointResult> ExecuteAsync( BlockChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs index 10a2377b..6c00d372 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IBlockChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs index 55d9fa76..4027bc36 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface ICreateChargeAuthTokenEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<CreateChargeAuthTokenEndpointResult> ExecuteAsync( CreateChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs index 212f1fda..28f58519 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/ICreateChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs index 278c36b2..9e0926b3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteChargeAuthTokenEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteChargeAuthTokenEndpointResult> ExecuteAsync( DeleteChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs index 0bfff792..a2f268fb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IDeleteChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs index d81b0ac4..505bd309 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargeAuthTokenEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargeAuthTokenEndpointResult> ExecuteAsync( GetChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs index ac4f4f63..1a4055dc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs index 35585748..1ca5d08c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargeAuthTokensEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargeAuthTokensEndpointResult> ExecuteAsync( GetChargeAuthTokensParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs index 209a76fb..da853d54 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IGetChargeAuthTokensEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs index 63cf31d4..823c123d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchChargeAuthTokenEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchChargeAuthTokenEndpointResult> ExecuteAsync( PatchChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs index 5e3d2a6a..4611f2d3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IPatchChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs index 1b689429..d410c701 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IUnblockChargeAuthTokenEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<UnblockChargeAuthTokenEndpointResult> ExecuteAsync( UnblockChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs index 9e108dcb..1e547ea5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/Interfaces/IUnblockChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs index e2ae415b..e755b532 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchChargeAuthTokenEndpoint( public async Task<PatchChargeAuthTokenEndpointResult> ExecuteAsync( PatchChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs index 48270bb4..6c9726fb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/PatchChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs index 36dd94d7..3ac23517 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public UnblockChargeAuthTokenEndpoint( public async Task<UnblockChargeAuthTokenEndpointResult> ExecuteAsync( UnblockChargeAuthTokenParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs index 8ae51ee7..70e10fc7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargeAuthTokens/UnblockChargeAuthTokenEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens; +namespace Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs index 32ec4f5a..14607b0f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointBrands; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointBrandEndpoint( public async Task<GetChargePointBrandEndpointResult> ExecuteAsync( GetChargePointBrandParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs index 5e1d480c..2a06b95e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointBrands; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs index 6c0b3ce1..5ea6c0ed 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointBrands; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointBrandsEndpoint( public async Task<GetChargePointBrandsEndpointResult> ExecuteAsync( GetChargePointBrandsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs index ebb15deb..73bec3f9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/GetChargePointBrandsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointBrands; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs index c445e6e8..ffc8fccc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointBrandEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointBrandEndpointResult> ExecuteAsync( GetChargePointBrandParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs index a1a751e1..e2b1b6c1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs index e7a17a73..90e26139 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointBrandsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointBrandsEndpointResult> ExecuteAsync( GetChargePointBrandsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs index 6e660cf7..df41ae39 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointBrands/Interfaces/IGetChargePointBrandsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs index 792ec062..d143f1ed 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointConnectors; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetConnectorEndpoint( public async Task<GetConnectorEndpointResult> ExecuteAsync( GetConnectorParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs index aed11466..efe782b0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointConnectors; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs index 5a4007c6..0548d2ad 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointConnectors; /// <summary> /// Client Endpoint. @@ -26,7 +26,7 @@ public GetConnectorsEndpoint( } public async Task<GetConnectorsEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs index 046a3b39..52ef19bc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/GetConnectorsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointConnectors; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs index 8dc9b90a..4e873c89 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetConnectorEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetConnectorEndpointResult> ExecuteAsync( GetConnectorParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs index 93deb61d..0524050f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs similarity index 85% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs index 4d1d3004..05054748 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -20,6 +20,6 @@ public interface IGetConnectorsEndpoint /// <param name="httpClientName">The http client name.</param> /// <param name="cancellationToken">The cancellation token.</param> Task<GetConnectorsEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs index ed5087f2..762365c0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointConnectors/Interfaces/IGetConnectorsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs index 62b371d8..6cd5a845 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteChargePointIntegrationEndpoint( public async Task<DeleteChargePointIntegrationEndpointResult> ExecuteAsync( DeleteChargePointIntegrationParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs index df05c47d..a576c869 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/DeleteChargePointIntegrationEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs index c61d8e8b..660e61dd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointIntegrationEndpoint( public async Task<GetChargePointIntegrationEndpointResult> ExecuteAsync( GetChargePointIntegrationParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs index 00502bc3..863d899c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs index c5a89c06..75749a1f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointIntegrationsEndpoint( public async Task<GetChargePointIntegrationsEndpointResult> ExecuteAsync( GetChargePointIntegrationsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs index 6ad411a8..fde3b4b4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/GetChargePointIntegrationsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs index bbdde164..e5642cb2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteChargePointIntegrationEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteChargePointIntegrationEndpointResult> ExecuteAsync( DeleteChargePointIntegrationParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs index 5e96891c..1bd3f78e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IDeleteChargePointIntegrationEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs index 5c48abb0..44056c84 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointIntegrationEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointIntegrationEndpointResult> ExecuteAsync( GetChargePointIntegrationParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs index 6f5a95d1..bd77d923 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs index fce55710..05f7811d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointIntegrationsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointIntegrationsEndpointResult> ExecuteAsync( GetChargePointIntegrationsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs index 0f023651..27cf6cfd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IGetChargePointIntegrationsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs index 7c73d6f8..be4f1cef 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostOrPutChargePointIntegrationEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostOrPutChargePointIntegrationEndpointResult> ExecuteAsync( PostOrPutChargePointIntegrationParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs index 1f169be0..e4a4b20f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/Interfaces/IPostOrPutChargePointIntegrationEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs index abc21922..39fc068f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostOrPutChargePointIntegrationEndpoint( public async Task<PostOrPutChargePointIntegrationEndpointResult> ExecuteAsync( PostOrPutChargePointIntegrationParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs index d8b311f9..53980c0f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointIntegrations/PostOrPutChargePointIntegrationEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs index eb8df27d..a4457c52 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointModels; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointModelEndpoint( public async Task<GetChargePointModelEndpointResult> ExecuteAsync( GetChargePointModelParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs index 36e00b95..78050c00 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointModels; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs index 86555b63..99833b27 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointModels; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointModelsEndpoint( public async Task<GetChargePointModelsEndpointResult> ExecuteAsync( GetChargePointModelsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs index ad4dd814..0644c6ba 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/GetChargePointModelsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointModels; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs index 40e18e7d..fa90ef26 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointModelEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointModelEndpointResult> ExecuteAsync( GetChargePointModelParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs index 8f8cafff..0b2121ab 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs index a9fadc9c..64d56a86 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointModelsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointModelsEndpointResult> ExecuteAsync( GetChargePointModelsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs index 62c58114..9c213bbc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePointModels/Interfaces/IGetChargePointModelsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs index b76c3499..14813f54 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteChargePointEndpoint( public async Task<DeleteChargePointEndpointResult> ExecuteAsync( DeleteChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs index 6d475e0f..516e86a0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/DeleteChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs index e92d10ea..498c83e3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointEndpoint( public async Task<GetChargePointEndpointResult> ExecuteAsync( GetChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs index f72dd146..c54ea1fa 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs index 916bd7a5..181e6296 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointMapEndpoint( public async Task<GetChargePointMapEndpointResult> ExecuteAsync( GetChargePointMapParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs index 9be71c0a..5fb55865 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointMapEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs index d9677fbc..23b5072a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargePointsEndpoint( public async Task<GetChargePointsEndpointResult> ExecuteAsync( GetChargePointsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs index 396b9e48..70a6d168 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/GetChargePointsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs index 62a25174..b7e4a555 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteChargePointEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteChargePointEndpointResult> ExecuteAsync( DeleteChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs index e1acf38d..d394e770 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IDeleteChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs index e5874053..8ffdfedc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointEndpointResult> ExecuteAsync( GetChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs index 057c7cca..3347cc0f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs index 667416ae..d011f6d3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointMapEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointMapEndpointResult> ExecuteAsync( GetChargePointMapParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs index 48ad99fa..0c1b8f6b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointMapEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs index bac094aa..b5439489 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargePointsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargePointsEndpointResult> ExecuteAsync( GetChargePointsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs index f49ea36e..22388277 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IGetChargePointsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs index ebad56cf..f21e7392 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchChargePointEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchChargePointEndpointResult> ExecuteAsync( PatchChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs index 656de616..aab2d7e7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPatchChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs index 9fd25cee..73f46a38 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostChargePointEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostChargePointEndpointResult> ExecuteAsync( PostChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs index 34cc002a..446fee35 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/Interfaces/IPostChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs index b9c22558..b4714c0f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchChargePointEndpoint( public async Task<PatchChargePointEndpointResult> ExecuteAsync( PatchChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs index 0c745b75..07dbab82 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PatchChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs index 805e8816..f87258bf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostChargePointEndpoint( public async Task<PostChargePointEndpointResult> ExecuteAsync( PostChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs index 7880dd3d..8683fa4f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/ChargePoints/PostChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.ChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.ChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs index c470c550..c1e52817 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargeBreakdownEndpoint( public async Task<GetChargeBreakdownEndpointResult> ExecuteAsync( GetChargeBreakdownParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs index 9a534c0a..2fe7098a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeBreakdownEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs index cff94057..c6e5377b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargeEndpoint( public async Task<GetChargeEndpointResult> ExecuteAsync( GetChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs index 02e9ba22..f70f026e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs index 0e2220b8..13f06584 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetChargesEndpoint( public async Task<GetChargesEndpointResult> ExecuteAsync( GetChargesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs index efc3658f..3ee661c9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/GetChargesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs index 6178703b..fb3a7d58 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargeBreakdownEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargeBreakdownEndpointResult> ExecuteAsync( GetChargeBreakdownParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs index e8e53dd3..c2fbb15e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeBreakdownEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs index 6d9c047a..10ea84d1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargeEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargeEndpointResult> ExecuteAsync( GetChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs index a56a63f1..e3ce80da 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs index 59f50eb9..d83562bb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetChargesEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetChargesEndpointResult> ExecuteAsync( GetChargesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs index 38a65666..b065b080 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IGetChargesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs index 5ef28438..1a6fcc88 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchChargeEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchChargeEndpointResult> ExecuteAsync( PatchChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs index 160b42bb..41e6b714 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IPatchChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs index c0fa065c..68be5684 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IRestartChargeEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<RestartChargeEndpointResult> ExecuteAsync( RestartChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs index 3b3d8e0d..8d285169 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IRestartChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs index 2d854806..dcaa1048 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IStartChargeEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<StartChargeEndpointResult> ExecuteAsync( StartChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs index fe37b616..160a47d7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStartChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs index 054e4b96..7fda64c1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IStopChargeEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<StopChargeEndpointResult> ExecuteAsync( StopChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs index 1628fc38..317aa097 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/Interfaces/IStopChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs index 1228f7ec..994f61f2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchChargeEndpoint( public async Task<PatchChargeEndpointResult> ExecuteAsync( PatchChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs index fc39412e..1d635086 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/PatchChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs index fa4a61bf..9bd23f4a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public RestartChargeEndpoint( public async Task<RestartChargeEndpointResult> ExecuteAsync( RestartChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs index 7118ce11..ac8c514a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/RestartChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs index 721816dc..a6573bfe 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StartChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public StartChargeEndpoint( public async Task<StartChargeEndpointResult> ExecuteAsync( StartChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs index 4e592ef7..ac0016e0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StartChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs index bc79656c..968d1e1e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StopChargeEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public StopChargeEndpoint( public async Task<StopChargeEndpointResult> ExecuteAsync( StopChargeParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs index f404b57a..ddd1a0c1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Charges/StopChargeEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Charges; +namespace Monta.ApiClient.Generated.Endpoints.Charges; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs index 715ce998..934fe045 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Consumers; +namespace Monta.ApiClient.Generated.Endpoints.Consumers; /// <summary> /// Client Endpoint. @@ -26,7 +26,7 @@ public GetCurrentConsumerEndpoint( } public async Task<GetCurrentConsumerEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs index 9312b3aa..010c1ebf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/GetCurrentConsumerEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Consumers; +namespace Monta.ApiClient.Generated.Endpoints.Consumers; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs index e2e35b30..603fbe2d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Consumers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Consumers.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -20,6 +20,6 @@ public interface IGetCurrentConsumerEndpoint /// <param name="httpClientName">The http client name.</param> /// <param name="cancellationToken">The cancellation token.</param> Task<GetCurrentConsumerEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs index b8be520c..c0fe007f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Consumers/Interfaces/IGetCurrentConsumerEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Consumers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Consumers.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs index d9c88f52..c02ce017 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Countries; +namespace Monta.ApiClient.Generated.Endpoints.Countries; /// <summary> /// Client Endpoint. @@ -26,7 +26,7 @@ public GetCountriesEndpoint( } public async Task<GetCountriesEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs index d44b164f..e951eb4e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountriesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Countries; +namespace Monta.ApiClient.Generated.Endpoints.Countries; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs index 58a4eb3f..a86475ff 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountryEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Countries; +namespace Monta.ApiClient.Generated.Endpoints.Countries; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetCountryEndpoint( public async Task<GetCountryEndpointResult> ExecuteAsync( GetCountryParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs index 3222ee0c..fcdc17ef 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/GetCountryEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Countries; +namespace Monta.ApiClient.Generated.Endpoints.Countries; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs similarity index 86% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs index 02ce96d2..0ab657af 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Countries.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -20,6 +20,6 @@ public interface IGetCountriesEndpoint /// <param name="httpClientName">The http client name.</param> /// <param name="cancellationToken">The cancellation token.</param> Task<GetCountriesEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs index 19850c81..4e8705db 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountriesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Countries.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs index 6309431b..99c76ed7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Countries.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetCountryEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetCountryEndpointResult> ExecuteAsync( GetCountryParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs index 6b0b2136..337aebec 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Countries/Interfaces/IGetCountryEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Countries.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs index 96320e72..445b69bd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas; +namespace Monta.ApiClient.Generated.Endpoints.CountryAreas; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetCountriesAreasEndpoint( public async Task<GetCountriesAreasEndpointResult> ExecuteAsync( GetCountriesAreasParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs index 98d14f0c..b85b0467 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountriesAreasEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas; +namespace Monta.ApiClient.Generated.Endpoints.CountryAreas; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs index 9667222b..bef2b8b6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas; +namespace Monta.ApiClient.Generated.Endpoints.CountryAreas; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetCountryAreaEndpoint( public async Task<GetCountryAreaEndpointResult> ExecuteAsync( GetCountryAreaParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs index ce6cfea9..02b9ecde 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/GetCountryAreaEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas; +namespace Monta.ApiClient.Generated.Endpoints.CountryAreas; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs index 50c52725..4f139da2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetCountriesAreasEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetCountriesAreasEndpointResult> ExecuteAsync( GetCountriesAreasParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs index 60399fba..e5458ae9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountriesAreasEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs index fe136d03..ebc36c4f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetCountryAreaEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetCountryAreaEndpointResult> ExecuteAsync( GetCountryAreaParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs index 3ffd9f5c..cf505b53 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/CountryAreas/Interfaces/IGetCountryAreaEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs index 22020541..608982e7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies; +namespace Monta.ApiClient.Generated.Endpoints.Currencies; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetCurrenciesEndpoint( public async Task<GetCurrenciesEndpointResult> ExecuteAsync( GetCurrenciesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs index 899cd4f7..79a513b9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrenciesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies; +namespace Monta.ApiClient.Generated.Endpoints.Currencies; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs index 7555ca5a..3ed11111 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies; +namespace Monta.ApiClient.Generated.Endpoints.Currencies; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetCurrencyEndpoint( public async Task<GetCurrencyEndpointResult> ExecuteAsync( GetCurrencyParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs index 6496e658..472659e1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/GetCurrencyEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies; +namespace Monta.ApiClient.Generated.Endpoints.Currencies; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs index ed6ce148..cd948300 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Currencies.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetCurrenciesEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetCurrenciesEndpointResult> ExecuteAsync( GetCurrenciesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs index 841b16f8..05669c43 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrenciesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Currencies.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs index 31b4d28d..2b0454f9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Currencies.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetCurrencyEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetCurrencyEndpointResult> ExecuteAsync( GetCurrencyParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs index c7922ca5..60d5f825 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Currencies/Interfaces/IGetCurrencyEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Currencies.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs index 50526e4b..ef56f58e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Insights; +namespace Monta.ApiClient.Generated.Endpoints.Insights; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetInsightsChargesChargerReportEndpoint( public async Task<GetInsightsChargesChargerReportEndpointResult> ExecuteAsync( GetInsightsChargesChargerReportParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs index 6fdb7f1d..3cd3c8ba 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesChargerReportEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Insights; +namespace Monta.ApiClient.Generated.Endpoints.Insights; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs index 37fc5bef..579d0409 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Insights; +namespace Monta.ApiClient.Generated.Endpoints.Insights; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetInsightsChargesDriverReportEndpoint( public async Task<GetInsightsChargesDriverReportEndpointResult> ExecuteAsync( GetInsightsChargesDriverReportParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs index 1f3d015d..c29f024a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/GetInsightsChargesDriverReportEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Insights; +namespace Monta.ApiClient.Generated.Endpoints.Insights; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs index 661ee460..aee355d7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Insights.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetInsightsChargesChargerReportEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetInsightsChargesChargerReportEndpointResult> ExecuteAsync( GetInsightsChargesChargerReportParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs index 3ba7d12f..8a05a2f4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesChargerReportEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Insights.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs similarity index 89% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs index c91e5b17..83cd880f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Insights.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetInsightsChargesDriverReportEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetInsightsChargesDriverReportEndpointResult> ExecuteAsync( GetInsightsChargesDriverReportParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs index 2e4ccf11..85124d22 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Insights/Interfaces/IGetInsightsChargesDriverReportEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Insights.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs index 6618f777..03715389 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteInstallerJobEndpoint( public async Task<DeleteInstallerJobEndpointResult> ExecuteAsync( DeleteInstallerJobParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs index dc4fef2f..b6535bfa 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/DeleteInstallerJobEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs index 04d3c762..be3534a0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetInstallerJobEndpoint( public async Task<GetInstallerJobEndpointResult> ExecuteAsync( GetInstallerJobParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs index 264644bd..6110f231 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs index 368449d1..35ed00c7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetInstallerJobsEndpoint( public async Task<GetInstallerJobsEndpointResult> ExecuteAsync( GetInstallerJobsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs index 867d7da0..f2ebebe9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/GetInstallerJobsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs index 32e49dc8..d87d82e0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteInstallerJobEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteInstallerJobEndpointResult> ExecuteAsync( DeleteInstallerJobParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs index 73bbcd11..a2996aaf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IDeleteInstallerJobEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs index 37a803a8..36475945 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetInstallerJobEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetInstallerJobEndpointResult> ExecuteAsync( GetInstallerJobParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs index 1783ae8b..d75be415 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs index 94302ea6..53e12d50 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetInstallerJobsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetInstallerJobsEndpointResult> ExecuteAsync( GetInstallerJobsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs index 26f384c3..9b65deab 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IGetInstallerJobsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs index 2bc1a70f..3c2af6c3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostInstallerJobEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostInstallerJobEndpointResult> ExecuteAsync( PostInstallerJobParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs index c997cf88..b8bcb35a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/Interfaces/IPostInstallerJobEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs index 20e65bd8..2186615d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostInstallerJobEndpoint( public async Task<PostInstallerJobEndpointResult> ExecuteAsync( PostInstallerJobParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs index 0fb63f5a..e5b03234 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/InstallerJobs/PostInstallerJobEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs; +namespace Monta.ApiClient.Generated.Endpoints.InstallerJobs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs index 84ed0d72..ead8d525 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Operators; +namespace Monta.ApiClient.Generated.Endpoints.Operators; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetOperatorEndpoint( public async Task<GetOperatorEndpointResult> ExecuteAsync( GetOperatorParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs index 2197a458..b8f8f06e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Operators; +namespace Monta.ApiClient.Generated.Endpoints.Operators; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs index 70d221be..9b4ef98e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Operators; +namespace Monta.ApiClient.Generated.Endpoints.Operators; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetOperatorsEndpoint( public async Task<GetOperatorsEndpointResult> ExecuteAsync( GetOperatorsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs index 035d9495..56414a78 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/GetOperatorsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Operators; +namespace Monta.ApiClient.Generated.Endpoints.Operators; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs index 8512d162..6626f673 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Operators.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetOperatorEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetOperatorEndpointResult> ExecuteAsync( GetOperatorParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs index a034130f..c6f5f145 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Operators.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs index 5fdf5f8b..35f3f835 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Operators.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetOperatorsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetOperatorsEndpointResult> ExecuteAsync( GetOperatorsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs index bd9da59b..9854f617 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Operators/Interfaces/IGetOperatorsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Operators.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs index 74924e32..ad38b00d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals; +namespace Monta.ApiClient.Generated.Endpoints.PaymentTerminals; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPaymentTerminalEndpoint( public async Task<GetPaymentTerminalEndpointResult> ExecuteAsync( GetPaymentTerminalParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs index cfd93a86..9c82de87 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals; +namespace Monta.ApiClient.Generated.Endpoints.PaymentTerminals; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs index 4446974e..77325e70 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals; +namespace Monta.ApiClient.Generated.Endpoints.PaymentTerminals; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPaymentTerminalsEndpoint( public async Task<GetPaymentTerminalsEndpointResult> ExecuteAsync( GetPaymentTerminalsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs index 919c0137..07de1fe8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/GetPaymentTerminalsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals; +namespace Monta.ApiClient.Generated.Endpoints.PaymentTerminals; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs index 10411bee..a73d629a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPaymentTerminalEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPaymentTerminalEndpointResult> ExecuteAsync( GetPaymentTerminalParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs index dfb4b1ce..4357b8d5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs index 8b39ce5f..6c804e3e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPaymentTerminalsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPaymentTerminalsEndpointResult> ExecuteAsync( GetPaymentTerminalsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs index bd66bcc2..e79bc3ff 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PaymentTerminals/Interfaces/IGetPaymentTerminalsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs index 37e84842..10a4d720 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlanEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Plans; +namespace Monta.ApiClient.Generated.Endpoints.Plans; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPlanEndpoint( public async Task<GetPlanEndpointResult> ExecuteAsync( GetPlanParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs index 8fc27d0f..8a88221d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlanEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Plans; +namespace Monta.ApiClient.Generated.Endpoints.Plans; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs index e6313a75..2c136ce2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlansEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Plans; +namespace Monta.ApiClient.Generated.Endpoints.Plans; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPlansEndpoint( public async Task<GetPlansEndpointResult> ExecuteAsync( GetPlansParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs index 398d606a..c45923cc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/GetPlansEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Plans; +namespace Monta.ApiClient.Generated.Endpoints.Plans; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs index 0d118075..493f6128 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Plans.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPlanEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPlanEndpointResult> ExecuteAsync( GetPlanParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs index e3b8e4a1..e53ad632 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlanEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Plans.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs index f4503f87..bed1d06f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Plans.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPlansEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPlansEndpointResult> ExecuteAsync( GetPlansParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs index 5e6c5662..6969c1dc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Plans/Interfaces/IGetPlansEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Plans.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs index 0f34f87e..4eb4f896 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeletePriceGroupTagEndpoint( public async Task<DeletePriceGroupTagEndpointResult> ExecuteAsync( DeletePriceGroupTagParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs index 96333514..f2bc0ceb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/DeletePriceGroupTagEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs index f5fe9262..385a2629 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPriceGroupTagEndpoint( public async Task<GetPriceGroupTagEndpointResult> ExecuteAsync( GetPriceGroupTagParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs index 9269700c..4dbd6f2e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs index b4b0e26e..47baaab4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPriceGroupTagsEndpoint( public async Task<GetPriceGroupTagsEndpointResult> ExecuteAsync( GetPriceGroupTagsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs index dc578563..0eed502f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/GetPriceGroupTagsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs index 186689f6..94c78d01 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeletePriceGroupTagEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeletePriceGroupTagEndpointResult> ExecuteAsync( DeletePriceGroupTagParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs index fb86d519..398da163 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IDeletePriceGroupTagEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs index a15aa9e6..2c1d207f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPriceGroupTagEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPriceGroupTagEndpointResult> ExecuteAsync( GetPriceGroupTagParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs index 93e87300..1a03fe8a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs index 4378866a..92bf04fa 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPriceGroupTagsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPriceGroupTagsEndpointResult> ExecuteAsync( GetPriceGroupTagsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs index d1fed3f2..d98f619f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IGetPriceGroupTagsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs index bd43f594..db10c007 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchPriceGroupTagEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchPriceGroupTagEndpointResult> ExecuteAsync( PatchPriceGroupTagParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs index ce59b493..b5a663af 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPatchPriceGroupTagEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs index e3070105..8256d22b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostPriceGroupTagEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostPriceGroupTagEndpointResult> ExecuteAsync( PostPriceGroupTagParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs index dcf73c7c..79829cf7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/Interfaces/IPostPriceGroupTagEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs index 6e7ffa85..b8ef92ca 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchPriceGroupTagEndpoint( public async Task<PatchPriceGroupTagEndpointResult> ExecuteAsync( PatchPriceGroupTagParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs index c7f52a8c..d4accca5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PatchPriceGroupTagEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs index 281039aa..101bad0e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostPriceGroupTagEndpoint( public async Task<PostPriceGroupTagEndpointResult> ExecuteAsync( PostPriceGroupTagParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs index b86fa5b6..a4ae8386 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroupTags/PostPriceGroupTagEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroupTags; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs index 34240cc7..ea5847f0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public ApplyPriceGroupEndpoint( public async Task<ApplyPriceGroupEndpointResult> ExecuteAsync( ApplyPriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs index dac95636..bcbf6dcd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/ApplyPriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs index df86b992..23a4084e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public CreatePriceGroupEndpoint( public async Task<CreatePriceGroupEndpointResult> ExecuteAsync( CreatePriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs index 29037f17..1ffe4eeb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/CreatePriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs index 2d0b3c3d..b8f7e222 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeletePriceGroupEndpoint( public async Task<DeletePriceGroupEndpointResult> ExecuteAsync( DeletePriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs index e710efed..799a67ca 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/DeletePriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs index 9b19d959..38ca297d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPriceGroupEndpoint( public async Task<GetPriceGroupEndpointResult> ExecuteAsync( GetPriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs index 20ec986d..938eaeb8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs index 764e8dc2..56b6f756 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPriceGroupsEndpoint( public async Task<GetPriceGroupsEndpointResult> ExecuteAsync( GetPriceGroupsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs index c3c08ff0..256587b1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/GetPriceGroupsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs index 9dcf960f..3d403e79 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IApplyPriceGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<ApplyPriceGroupEndpointResult> ExecuteAsync( ApplyPriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs index 4fb85afd..601475b2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IApplyPriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs index d082ff99..4a52533a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface ICreatePriceGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<CreatePriceGroupEndpointResult> ExecuteAsync( CreatePriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs index b5a56fad..da9edec9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ICreatePriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs index 22ac19bf..124f4252 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeletePriceGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeletePriceGroupEndpointResult> ExecuteAsync( DeletePriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs index 624aeb63..0c03674d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IDeletePriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs index d0d592fc..c91bab22 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPriceGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPriceGroupEndpointResult> ExecuteAsync( GetPriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs index e6517600..04b2948a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs index d2d16736..ac5b0f2e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPriceGroupsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPriceGroupsEndpointResult> ExecuteAsync( GetPriceGroupsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs index 823bbd2c..cfe08517 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IGetPriceGroupsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs index c37707b3..eef791f4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface ISetDefaultPriceGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<SetDefaultPriceGroupEndpointResult> ExecuteAsync( SetDefaultPriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs index 982eb518..caa9985e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/ISetDefaultPriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs index d9571c42..11b82abe 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IUpdatePriceGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<UpdatePriceGroupEndpointResult> ExecuteAsync( UpdatePriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs index 83af8cb9..2c032aad 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/Interfaces/IUpdatePriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs index 0ebf920b..13447903 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public SetDefaultPriceGroupEndpoint( public async Task<SetDefaultPriceGroupEndpointResult> ExecuteAsync( SetDefaultPriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs index 7734cb08..d12b8047 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/SetDefaultPriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs index 4d47164f..678d41b8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public UpdatePriceGroupEndpoint( public async Task<UpdatePriceGroupEndpointResult> ExecuteAsync( UpdatePriceGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs index 774b2137..c0db5a88 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/PriceGroups/UpdatePriceGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.PriceGroups; +namespace Monta.ApiClient.Generated.Endpoints.PriceGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs index 0dcb878a..ce1cb996 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Prices; +namespace Monta.ApiClient.Generated.Endpoints.Prices; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPricesForecastEndpoint( public async Task<GetPricesForecastEndpointResult> ExecuteAsync( GetPricesForecastParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs index 64244a29..b1c3d1b3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/GetPricesForecastEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Prices; +namespace Monta.ApiClient.Generated.Endpoints.Prices; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs index 6dbcccff..6a22b132 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Prices.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Prices.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPricesForecastEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPricesForecastEndpointResult> ExecuteAsync( GetPricesForecastParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs index 29a521c7..225ecd91 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Prices/Interfaces/IGetPricesForecastEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Prices.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Prices.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs index f0bcf745..45ce4d49 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteSiteEndpoint( public async Task<DeleteSiteEndpointResult> ExecuteAsync( DeleteSiteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs index d952aac3..4cf4b47d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/DeleteSiteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs index bcb97d32..57e0caec 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSiteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetSiteEndpoint( public async Task<GetSiteEndpointResult> ExecuteAsync( GetSiteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs index 021cb2a9..54cb40d1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSiteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs index 15868683..6b383925 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSitesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetSitesEndpoint( public async Task<GetSitesEndpointResult> ExecuteAsync( GetSitesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs index b69848b6..441835cc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/GetSitesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs index 2b15d81b..8129c1bd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteSiteEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteSiteEndpointResult> ExecuteAsync( DeleteSiteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs index c8bd605b..4199deef 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IDeleteSiteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs index b6704fc6..5abade3c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetSiteEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetSiteEndpointResult> ExecuteAsync( GetSiteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs index abd83691..13c02227 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSiteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs index 3f79c8d4..48df228e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetSitesEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetSitesEndpointResult> ExecuteAsync( GetSitesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs index b9a81106..8d194c42 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IGetSitesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs index 6a823330..8893d87a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchSiteEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchSiteEndpointResult> ExecuteAsync( PatchSiteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs index a4d0583c..c8412b9e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPatchSiteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs index 896a5f7d..b59ba942 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostSiteEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostSiteEndpointResult> ExecuteAsync( PostSiteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs index 4b77e98d..f2723e3e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/Interfaces/IPostSiteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs index 042cd77a..7203f08d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchSiteEndpoint( public async Task<PatchSiteEndpointResult> ExecuteAsync( PatchSiteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs index 654a4f2e..947c939f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PatchSiteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs index c9d46547..5b384c2c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PostSiteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostSiteEndpoint( public async Task<PostSiteEndpointResult> ExecuteAsync( PostSiteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs index 5cae3839..99a06721 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Sites/PostSiteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Sites; +namespace Monta.ApiClient.Generated.Endpoints.Sites; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs index 7ed35fb9..7f841d9e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteSponsoredChargePointEndpoint( public async Task<DeleteSponsoredChargePointEndpointResult> ExecuteAsync( DeleteSponsoredChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs index b4e8d35d..973ea3fe 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/DeleteSponsoredChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs index 6cd2ea91..173c4ed0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetSponsoredChargePointEndpoint( public async Task<GetSponsoredChargePointEndpointResult> ExecuteAsync( GetSponsoredChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs index 1fe5cb9f..7300326b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs index 89974239..fdcdd1af 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetSponsoredChargePointsEndpoint( public async Task<GetSponsoredChargePointsEndpointResult> ExecuteAsync( GetSponsoredChargePointsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs index a3705d73..5ffc5f15 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/GetSponsoredChargePointsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs index 5de37615..21503f48 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteSponsoredChargePointEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteSponsoredChargePointEndpointResult> ExecuteAsync( DeleteSponsoredChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs index 1e689980..d2c8bc16 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IDeleteSponsoredChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs index b06abb56..a4d9cee4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetSponsoredChargePointEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetSponsoredChargePointEndpointResult> ExecuteAsync( GetSponsoredChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs index cd8f5105..2d220353 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs index e72e68ed..192a6dba 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetSponsoredChargePointsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetSponsoredChargePointsEndpointResult> ExecuteAsync( GetSponsoredChargePointsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs index 7e8e315d..6185a3ac 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IGetSponsoredChargePointsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs index f27144b0..361438d6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchSponsoredChargePointEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchSponsoredChargePointEndpointResult> ExecuteAsync( PatchSponsoredChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs index 29e5553e..acc48c2a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPatchSponsoredChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs index b1c46ff9..9568cdfd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostSponsoredChargePointEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostSponsoredChargePointEndpointResult> ExecuteAsync( PostSponsoredChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs index a7d1e0aa..070d5b1b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/Interfaces/IPostSponsoredChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs index 0c04e685..696427ef 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchSponsoredChargePointEndpoint( public async Task<PatchSponsoredChargePointEndpointResult> ExecuteAsync( PatchSponsoredChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs index 96000053..ec3eb628 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PatchSponsoredChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs index 3b613121..8109d424 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostSponsoredChargePointEndpoint( public async Task<PostSponsoredChargePointEndpointResult> ExecuteAsync( PostSponsoredChargePointParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs index 8bc62423..42af63aa 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SponsoredChargePoints/PostSponsoredChargePointEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints; +namespace Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs index 06f988bc..9d2198d6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases; +namespace Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetSubscriptionPurchaseEndpoint( public async Task<GetSubscriptionPurchaseEndpointResult> ExecuteAsync( GetSubscriptionPurchaseParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs index 6cb6901e..b568ea4e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchaseEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases; +namespace Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs index c6f342e0..536c8457 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases; +namespace Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetSubscriptionPurchasesEndpoint( public async Task<GetSubscriptionPurchasesEndpointResult> ExecuteAsync( GetSubscriptionPurchasesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs index 0d322b01..861b52b8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/GetSubscriptionPurchasesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases; +namespace Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs index 115c60c5..14e9c569 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetSubscriptionPurchaseEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetSubscriptionPurchaseEndpointResult> ExecuteAsync( GetSubscriptionPurchaseParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs index bb600af0..c4fd0354 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchaseEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs index 9b870bb8..4675688b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetSubscriptionPurchasesEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetSubscriptionPurchasesEndpointResult> ExecuteAsync( GetSubscriptionPurchasesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs index 63b9d603..09bfb3c5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/SubscriptionPurchases/Interfaces/IGetSubscriptionPurchasesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs index 5d8f0761..90b4ee1b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public ApproveSubscriptionEndpoint( public async Task<ApproveSubscriptionEndpointResult> ExecuteAsync( ApproveSubscriptionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs index 48ff45bc..de1cefe5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/ApproveSubscriptionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs index 295d0c03..08a4612e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public CreateSubscriptionEndpoint( public async Task<CreateSubscriptionEndpointResult> ExecuteAsync( CreateSubscriptionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs index d96d522a..4eb725ee 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/CreateSubscriptionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs index 82c0c951..3cc6ccfd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteSubscriptionEndpoint( public async Task<DeleteSubscriptionEndpointResult> ExecuteAsync( DeleteSubscriptionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs index 550c9d76..d1b5c59c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/DeleteSubscriptionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs index 497970a0..22b238f7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetSubscriptionEndpoint( public async Task<GetSubscriptionEndpointResult> ExecuteAsync( GetSubscriptionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs index 1d1e009d..89c51513 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs index 392fed83..f32ed041 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetSubscriptionsEndpoint( public async Task<GetSubscriptionsEndpointResult> ExecuteAsync( GetSubscriptionsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs index 0d19b807..0b92c60d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/GetSubscriptionsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs index 4e71cd8f..9e3a7f87 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IApproveSubscriptionEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<ApproveSubscriptionEndpointResult> ExecuteAsync( ApproveSubscriptionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs index fee74448..3e60bc6b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IApproveSubscriptionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs index ad52ec02..dfa45879 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface ICreateSubscriptionEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<CreateSubscriptionEndpointResult> ExecuteAsync( CreateSubscriptionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs index 54308ee9..ede45581 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/ICreateSubscriptionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs index 50e06bb1..90e2ee37 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteSubscriptionEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteSubscriptionEndpointResult> ExecuteAsync( DeleteSubscriptionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs index d5a8513e..98a16a29 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IDeleteSubscriptionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs index 1c236520..7ec012a1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetSubscriptionEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetSubscriptionEndpointResult> ExecuteAsync( GetSubscriptionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs index 295a2d8c..123926c1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs index 83c8570f..a39f3f80 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetSubscriptionsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetSubscriptionsEndpointResult> ExecuteAsync( GetSubscriptionsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs index e382e9bc..3d38d3e5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Subscriptions/Interfaces/IGetSubscriptionsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs index 0316f31b..6fd5e4e7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public CreateTariffPeriodGroupEndpoint( public async Task<CreateTariffPeriodGroupEndpointResult> ExecuteAsync( CreateTariffPeriodGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs index 248be31b..a70abee5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/CreateTariffPeriodGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs index da34a5e1..7a15a9d1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteTariffPeriodGroupEndpoint( public async Task<DeleteTariffPeriodGroupEndpointResult> ExecuteAsync( DeleteTariffPeriodGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs index c8eacf44..ddff9a18 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/DeleteTariffPeriodGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs index b7045e04..25bf2b96 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPeriodGroupEndpoint( public async Task<GetPeriodGroupEndpointResult> ExecuteAsync( GetPeriodGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs index de214cca..650adb7c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs index dfd06190..3ca4a7ca 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetPeriodGroupsEndpoint( public async Task<GetPeriodGroupsEndpointResult> ExecuteAsync( GetPeriodGroupsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs index b5527f3c..d9b4d4ed 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/GetPeriodGroupsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs index 239ec374..e0529c27 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface ICreateTariffPeriodGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<CreateTariffPeriodGroupEndpointResult> ExecuteAsync( CreateTariffPeriodGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs index 829c6b64..4c30aeab 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/ICreateTariffPeriodGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs index ca8eac9c..9a2b17da 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteTariffPeriodGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteTariffPeriodGroupEndpointResult> ExecuteAsync( DeleteTariffPeriodGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs index f54c976c..9f531938 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IDeleteTariffPeriodGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs index 904c35dc..f4b29054 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPeriodGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPeriodGroupEndpointResult> ExecuteAsync( GetPeriodGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs index adee0d6c..48979091 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs index c4355feb..32a3d7d0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetPeriodGroupsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetPeriodGroupsEndpointResult> ExecuteAsync( GetPeriodGroupsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs index f9da9e61..534aff04 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IGetPeriodGroupsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs index f4c837f8..cc765786 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IUpdateTariffPeriodGroupEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<UpdateTariffPeriodGroupEndpointResult> ExecuteAsync( UpdateTariffPeriodGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs index 446ab15f..42bd83c0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/Interfaces/IUpdateTariffPeriodGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs index 101ffd8c..641e1a69 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public UpdateTariffPeriodGroupEndpoint( public async Task<UpdateTariffPeriodGroupEndpointResult> ExecuteAsync( UpdateTariffPeriodGroupParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs index f0496c0f..c65a0d24 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffPeriodGroups/UpdateTariffPeriodGroupEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups; +namespace Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs index 263d12e9..b4d19da1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public CreateTariffRecurringPeriodsEndpoint( public async Task<CreateTariffRecurringPeriodsEndpointResult> ExecuteAsync( CreateTariffRecurringPeriodsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs index 76c6f9d0..d0926c48 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/CreateTariffRecurringPeriodsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs index 686151c3..15be639d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteTariffRecurringPeriodEndpoint( public async Task<DeleteTariffRecurringPeriodEndpointResult> ExecuteAsync( DeleteTariffRecurringPeriodParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs index 3c014552..8c090c32 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/DeleteTariffRecurringPeriodEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs index 276aaed7..b30a65ab 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetTariffRecurringPeriodEndpoint( public async Task<GetTariffRecurringPeriodEndpointResult> ExecuteAsync( GetTariffRecurringPeriodParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs index 97882d06..b72e85cb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs index da0c7ad4..e07a1067 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetTariffRecurringPeriodsEndpoint( public async Task<GetTariffRecurringPeriodsEndpointResult> ExecuteAsync( GetTariffRecurringPeriodsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs index 9495f726..0977bfb9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/GetTariffRecurringPeriodsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs index a5d8343f..32ebff25 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface ICreateTariffRecurringPeriodsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<CreateTariffRecurringPeriodsEndpointResult> ExecuteAsync( CreateTariffRecurringPeriodsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs index 0d7eb30a..184875c2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/ICreateTariffRecurringPeriodsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs index e42a9460..041def4c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteTariffRecurringPeriodEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteTariffRecurringPeriodEndpointResult> ExecuteAsync( DeleteTariffRecurringPeriodParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs index 939430fd..4e2e2cc7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IDeleteTariffRecurringPeriodEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs index 85a3c260..668d7f53 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetTariffRecurringPeriodEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetTariffRecurringPeriodEndpointResult> ExecuteAsync( GetTariffRecurringPeriodParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs index 95db3b1f..86f2dd5b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs index 9f333082..92a4149d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetTariffRecurringPeriodsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetTariffRecurringPeriodsEndpointResult> ExecuteAsync( GetTariffRecurringPeriodsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs index 2877ab28..087e1cdd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IGetTariffRecurringPeriodsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs index 375a20b2..98e4bae7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IUpdateTariffRecurringPeriodsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<UpdateTariffRecurringPeriodsEndpointResult> ExecuteAsync( UpdateTariffRecurringPeriodsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs index 3f22832e..310c5b0f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/Interfaces/IUpdateTariffRecurringPeriodsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs index 818b9fef..3f410af1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public UpdateTariffRecurringPeriodsEndpoint( public async Task<UpdateTariffRecurringPeriodsEndpointResult> ExecuteAsync( UpdateTariffRecurringPeriodsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs index 92ab72f6..2d22eaa4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TariffRecurringPeriods/UpdateTariffRecurringPeriodsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods; +namespace Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs index def0acbc..f6f79dbe 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public CreateTariffEndpoint( public async Task<CreateTariffEndpointResult> ExecuteAsync( CreateTariffParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs index 490fb559..cea83569 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs index 1c910cc3..61a241b8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public CreateTariffPricesEndpoint( public async Task<CreateTariffPricesEndpointResult> ExecuteAsync( CreateTariffPricesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs index ecb4d00a..0fc8a827 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/CreateTariffPricesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs index 37ea355d..a60c9eef 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetAllTariffsEndpoint( public async Task<GetAllTariffsEndpointResult> ExecuteAsync( GetAllTariffsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs index 57dd1a15..c6d63f72 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetAllTariffsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs index 8912b518..42618ac5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetTariffEndpoint( public async Task<GetTariffEndpointResult> ExecuteAsync( GetTariffParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs index edb2333a..aaed2fa6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/GetTariffEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs index 57a92b32..2a6b9897 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface ICreateTariffEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<CreateTariffEndpointResult> ExecuteAsync( CreateTariffParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs index 79921a7b..6d3c1e34 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs index 3a86a89d..e2bd3851 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface ICreateTariffPricesEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<CreateTariffPricesEndpointResult> ExecuteAsync( CreateTariffPricesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs index d1594cd1..ad7cb604 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/ICreateTariffPricesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs index bac00c4c..9dd256b2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetAllTariffsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetAllTariffsEndpointResult> ExecuteAsync( GetAllTariffsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs index 39d99c26..9db2e846 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetAllTariffsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs index 63888f7d..e50afee5 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetTariffEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetTariffEndpointResult> ExecuteAsync( GetTariffParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs index 54388a08..e52af304 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IGetTariffEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs index b854c305..1ae003a9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IUpdateTariffEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<UpdateTariffEndpointResult> ExecuteAsync( UpdateTariffParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs index 0a0adc71..22852f6c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/Interfaces/IUpdateTariffEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs index c50c07c1..7864c7cc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public UpdateTariffEndpoint( public async Task<UpdateTariffEndpointResult> ExecuteAsync( UpdateTariffParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs index 385208f1..ededc6e8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Tariffs/UpdateTariffEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Tariffs; +namespace Monta.ApiClient.Generated.Endpoints.Tariffs; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs index ca84d708..086cafb1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteTeamMemberEndpoint( public async Task<DeleteTeamMemberEndpointResult> ExecuteAsync( DeleteTeamMemberParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs index 565f3832..8aa238f6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/DeleteTeamMemberEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs index 120ca747..3077d77b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetTeamMemberEndpoint( public async Task<GetTeamMemberEndpointResult> ExecuteAsync( GetTeamMemberParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs index 8b8ec772..ccd67afd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMemberEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs index d7945517..9c5ec180 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetTeamMembersEndpoint( public async Task<GetTeamMembersEndpointResult> ExecuteAsync( GetTeamMembersParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs index 73530777..7b08d96b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/GetTeamMembersEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs index 3bef01fc..ccb93165 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteTeamMemberEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteTeamMemberEndpointResult> ExecuteAsync( DeleteTeamMemberParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs index 1a693183..1b869fda 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IDeleteTeamMemberEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs index ee2968d1..e197bce4 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetTeamMemberEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetTeamMemberEndpointResult> ExecuteAsync( GetTeamMemberParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs index 72d25b95..c1a2d3bf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMemberEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs index e993e1de..1231ae21 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetTeamMembersEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetTeamMembersEndpointResult> ExecuteAsync( GetTeamMembersParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs index 868edfd7..b529fc5e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IGetTeamMembersEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs index 2382550e..b6e61e08 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchTeamMemberEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchTeamMemberEndpointResult> ExecuteAsync( PatchTeamMemberParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs index 6ea759de..7132965b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPatchTeamMemberEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs index 0c5aa47e..d8795518 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostTeamMemberEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostTeamMemberEndpointResult> ExecuteAsync( PostTeamMemberParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs index 886a4c55..f4a98bdb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IPostTeamMemberEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs index 6c7b323b..e2e54690 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IResendTeamMemberInviteEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<ResendTeamMemberInviteEndpointResult> ExecuteAsync( ResendTeamMemberInviteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs index 635bb182..c2f901b1 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/Interfaces/IResendTeamMemberInviteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs index d725e0c3..ab7dde1d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchTeamMemberEndpoint( public async Task<PatchTeamMemberEndpointResult> ExecuteAsync( PatchTeamMemberParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs index 60282562..620a378a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PatchTeamMemberEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs index 18add0b9..a2cfc439 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostTeamMemberEndpoint( public async Task<PostTeamMemberEndpointResult> ExecuteAsync( PostTeamMemberParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs index c16a6c21..ead46e5d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/PostTeamMemberEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs index 55816746..d80bca49 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public ResendTeamMemberInviteEndpoint( public async Task<ResendTeamMemberInviteEndpointResult> ExecuteAsync( ResendTeamMemberInviteParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs index 0593b5a3..19a90b0e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/TeamMembers/ResendTeamMemberInviteEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.TeamMembers; +namespace Monta.ApiClient.Generated.Endpoints.TeamMembers; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs index 29867b69..d7d25be6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public DeleteTeamEndpoint( public async Task<DeleteTeamEndpointResult> ExecuteAsync( DeleteTeamParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs index 653bd331..83ae031e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/DeleteTeamEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs index 93da51cb..34ac098c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetTeamEndpoint( public async Task<GetTeamEndpointResult> ExecuteAsync( GetTeamParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs index 52333c74..26649d1b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs index afc7cc97..e0fc5cd2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetTeamsEndpoint( public async Task<GetTeamsEndpointResult> ExecuteAsync( GetTeamsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs index b9f70055..5e70cced 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/GetTeamsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs index 8d209d09..caf97253 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IDeleteTeamEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteTeamEndpointResult> ExecuteAsync( DeleteTeamParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs index 70e4c1f5..e25ba102 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IDeleteTeamEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs index 7fd16c41..ae515c85 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetTeamEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetTeamEndpointResult> ExecuteAsync( GetTeamParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs index 0b8568bb..9e4a4f61 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs index 93375cdd..e3764932 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetTeamsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetTeamsEndpointResult> ExecuteAsync( GetTeamsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs index a02b985c..8b3f9591 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IGetTeamsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs index c783a661..6d5b07a9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchTeamEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchTeamEndpointResult> ExecuteAsync( PatchTeamParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs index 44b7f9df..2d408d5b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPatchTeamEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs index 8aa7f06a..8584d93d 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostTeamEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostTeamEndpointResult> ExecuteAsync( PostTeamParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs index c3a7fb82..7fabca63 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/Interfaces/IPostTeamEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs index 5b41fcf7..2b2f953a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchTeamEndpoint( public async Task<PatchTeamEndpointResult> ExecuteAsync( PatchTeamParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs index 1e4885d3..2117dc2f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PatchTeamEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs index 80f9e8b2..98ef2582 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PostTeamEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostTeamEndpoint( public async Task<PostTeamEndpointResult> ExecuteAsync( PostTeamParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs index 0e2e3100..d4821124 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Teams/PostTeamEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Teams; +namespace Monta.ApiClient.Generated.Endpoints.Teams; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs index 1384c5c5..723c8107 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetWalletTransactionEndpoint( public async Task<GetWalletTransactionEndpointResult> ExecuteAsync( GetWalletTransactionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs index c3f625dc..7e33c3dc 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs index c1b501c7..e8353da6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetWalletTransactionsEndpoint( public async Task<GetWalletTransactionsEndpointResult> ExecuteAsync( GetWalletTransactionsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs similarity index 95% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs index 7204960a..140427e8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/GetWalletTransactionsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs index c3ff5777..eff651e7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetWalletTransactionEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetWalletTransactionEndpointResult> ExecuteAsync( GetWalletTransactionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs index fbfaeb16..b48955fe 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs index 023e78e5..c6611b3e 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetWalletTransactionsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetWalletTransactionsEndpointResult> ExecuteAsync( GetWalletTransactionsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs similarity index 90% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs index 385edb02..a4954757 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IGetWalletTransactionsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs index ec92b45c..a5106487 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPatchTransactionEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PatchTransactionEndpointResult> ExecuteAsync( PatchTransactionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs index 468fef52..42a865a0 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPatchTransactionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs index 3a8e84d2..f30c9e21 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IPostOperatorAdjustmentTransactionEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<PostOperatorAdjustmentTransactionEndpointResult> ExecuteAsync( PostOperatorAdjustmentTransactionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs index b53aecbd..07c5fbf9 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/Interfaces/IPostOperatorAdjustmentTransactionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs index e091660f..b60aed2a 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PatchTransactionEndpoint( public async Task<PatchTransactionEndpointResult> ExecuteAsync( PatchTransactionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs index 69c86f27..61aa9c56 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PatchTransactionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs index cb8dceab..fe29a31b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public PostOperatorAdjustmentTransactionEndpoint( public async Task<PostOperatorAdjustmentTransactionEndpointResult> ExecuteAsync( PostOperatorAdjustmentTransactionParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs index 4f5e6fc2..d5364ec6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/WalletTransactions/PostOperatorAdjustmentTransactionEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions; +namespace Monta.ApiClient.Generated.Endpoints.WalletTransactions; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs index 0e53cff8..4431efbe 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets; +namespace Monta.ApiClient.Generated.Endpoints.Wallets; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetWalletEndpoint( public async Task<GetWalletEndpointResult> ExecuteAsync( GetWalletParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs similarity index 97% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs index 1673e96d..65bc1bcb 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets; +namespace Monta.ApiClient.Generated.Endpoints.Wallets; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs index 7b2059a4..901fcca7 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets; +namespace Monta.ApiClient.Generated.Endpoints.Wallets; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetWalletsEndpoint( public async Task<GetWalletsEndpointResult> ExecuteAsync( GetWalletsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs index 120fc396..29950740 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/GetWalletsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets; +namespace Monta.ApiClient.Generated.Endpoints.Wallets; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs index e7e50f4e..4cf80099 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Wallets.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetWalletEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetWalletEndpointResult> ExecuteAsync( GetWalletParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs index 89a6d525..734e9a47 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Wallets.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs similarity index 87% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs index ff20656d..8918ae92 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Wallets.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetWalletsEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetWalletsEndpointResult> ExecuteAsync( GetWalletsParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs index d71b32b6..a5873fb6 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Wallets/Interfaces/IGetWalletsEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Wallets.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs index 2a4c5e05..e1adc20b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint. @@ -26,7 +26,7 @@ public DeleteWebhookConfigEndpoint( } public async Task<DeleteWebhookConfigEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs index ebe25443..2125ab05 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/DeleteWebhookConfigEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs similarity index 93% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs index 1c602dde..56d5822c 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint. @@ -26,7 +26,7 @@ public GetWebhookConfigEndpoint( } public async Task<GetWebhookConfigEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs index ae30784a..8d7392cf 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookConfigEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs index 62ba5805..85b1274f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1Endpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetWebhookEntries1Endpoint( public async Task<GetWebhookEntries1EndpointResult> ExecuteAsync( GetWebhookEntries1Parameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs index 4eac005d..965c79c8 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntries1EndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs index db2d1f1d..60b538cd 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public GetWebhookEntriesEndpoint( public async Task<GetWebhookEntriesEndpointResult> ExecuteAsync( GetWebhookEntriesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs index 61fb4615..eaf54cf3 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/GetWebhookEntriesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs similarity index 86% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs index a47d4481..83a54272 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -20,6 +20,6 @@ public interface IDeleteWebhookConfigEndpoint /// <param name="httpClientName">The http client name.</param> /// <param name="cancellationToken">The cancellation token.</param> Task<DeleteWebhookConfigEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs index 0a85ebe5..62c85ee2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IDeleteWebhookConfigEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs similarity index 86% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs index fb54498d..c421b6a2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -20,6 +20,6 @@ public interface IGetWebhookConfigEndpoint /// <param name="httpClientName">The http client name.</param> /// <param name="cancellationToken">The cancellation token.</param> Task<GetWebhookConfigEndpointResult> ExecuteAsync( - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs index 8825e86a..e4dd6f18 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookConfigEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs index 825be58e..c7a5f017 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1Endpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetWebhookEntries1Endpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetWebhookEntries1EndpointResult> ExecuteAsync( GetWebhookEntries1Parameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs similarity index 92% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs index 5afb7993..faa6f515 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntries1EndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs index 24ef4700..fd6eeef2 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IGetWebhookEntriesEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<GetWebhookEntriesEndpointResult> ExecuteAsync( GetWebhookEntriesParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs index fb8e8d7e..aca8b593 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IGetWebhookEntriesEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs similarity index 88% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs index 85628a01..fbca4062 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint. @@ -22,6 +22,6 @@ public interface IUpdateWebhookConfigEndpoint /// <param name="cancellationToken">The cancellation token.</param> Task<UpdateWebhookConfigEndpointResult> ExecuteAsync( UpdateWebhookConfigParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs similarity index 91% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs index 9496893f..fd39f82b 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/Interfaces/IUpdateWebhookConfigEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; /// <summary> /// Interface for Client Endpoint Result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs similarity index 94% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs index 19c5ab63..65f2057f 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpoint.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint. @@ -27,7 +27,7 @@ public UpdateWebhookConfigEndpoint( public async Task<UpdateWebhookConfigEndpointResult> ExecuteAsync( UpdateWebhookConfigParameters parameters, - string httpClientName = "MontaPartner-ApiClient", + string httpClientName = "Monta-ApiClient", CancellationToken cancellationToken = default) { var client = factory.CreateClient(httpClientName); diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs similarity index 96% rename from test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs rename to test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs index b69f9a29..c1593835 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/Endpoints/Webhooks/UpdateWebhookConfigEndpointResult.verified.cs @@ -4,7 +4,7 @@ // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ -namespace MontaPartner.ApiClient.Generated.Endpoints.Webhooks; +namespace Monta.ApiClient.Generated.Endpoints.Webhooks; /// <summary> /// Client Endpoint result. diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/GlobalUsings.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/GlobalUsings.verified.cs new file mode 100644 index 00000000..9ddfacb7 --- /dev/null +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/Monta/VerifyClient/WCEM/src/Monta.ApiClient.Generated/GlobalUsings.verified.cs @@ -0,0 +1,80 @@ +global using System; +global using System.CodeDom.Compiler; +global using System.Collections.Generic; +global using System.ComponentModel.DataAnnotations; +global using System.Net; +global using System.Net.Http; +global using System.Runtime.Serialization; +global using System.Text.Json.Serialization; +global using System.Threading; +global using System.Threading.Tasks; + +global using Atc.Rest.Client; +global using Atc.Rest.Client.Builder; + +global using Microsoft.AspNetCore.Mvc; + +global using Monta.ApiClient.Generated.Contracts; +global using Monta.ApiClient.Generated.Contracts.Auth; +global using Monta.ApiClient.Generated.Contracts.ChargeAuthTokens; +global using Monta.ApiClient.Generated.Contracts.ChargePointBrands; +global using Monta.ApiClient.Generated.Contracts.ChargePointConnectors; +global using Monta.ApiClient.Generated.Contracts.ChargePointIntegrations; +global using Monta.ApiClient.Generated.Contracts.ChargePointModels; +global using Monta.ApiClient.Generated.Contracts.ChargePoints; +global using Monta.ApiClient.Generated.Contracts.Charges; +global using Monta.ApiClient.Generated.Contracts.Countries; +global using Monta.ApiClient.Generated.Contracts.CountryAreas; +global using Monta.ApiClient.Generated.Contracts.Currencies; +global using Monta.ApiClient.Generated.Contracts.Insights; +global using Monta.ApiClient.Generated.Contracts.InstallerJobs; +global using Monta.ApiClient.Generated.Contracts.Operators; +global using Monta.ApiClient.Generated.Contracts.PaymentTerminals; +global using Monta.ApiClient.Generated.Contracts.Plans; +global using Monta.ApiClient.Generated.Contracts.PriceGroups; +global using Monta.ApiClient.Generated.Contracts.PriceGroupTags; +global using Monta.ApiClient.Generated.Contracts.Prices; +global using Monta.ApiClient.Generated.Contracts.Sites; +global using Monta.ApiClient.Generated.Contracts.SponsoredChargePoints; +global using Monta.ApiClient.Generated.Contracts.SubscriptionPurchases; +global using Monta.ApiClient.Generated.Contracts.Subscriptions; +global using Monta.ApiClient.Generated.Contracts.TariffPeriodGroups; +global using Monta.ApiClient.Generated.Contracts.TariffRecurringPeriods; +global using Monta.ApiClient.Generated.Contracts.Tariffs; +global using Monta.ApiClient.Generated.Contracts.TeamMembers; +global using Monta.ApiClient.Generated.Contracts.Teams; +global using Monta.ApiClient.Generated.Contracts.Wallets; +global using Monta.ApiClient.Generated.Contracts.WalletTransactions; +global using Monta.ApiClient.Generated.Contracts.Webhooks; +global using Monta.ApiClient.Generated.Endpoints.Auth.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Charges.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Consumers.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Countries.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Currencies.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Insights.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Operators.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Plans.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Prices.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Sites.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Tariffs.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Teams.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Wallets.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; +global using Monta.ApiClient.Generated.Endpoints.Webhooks.Interfaces; \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/GlobalUsings.verified.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/GlobalUsings.verified.cs deleted file mode 100644 index b5558914..00000000 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/Scenarios/MontaPartner/VerifyClient/WCEM/src/MontaPartner.ApiClient.Generated/GlobalUsings.verified.cs +++ /dev/null @@ -1,80 +0,0 @@ -global using System; -global using System.CodeDom.Compiler; -global using System.Collections.Generic; -global using System.ComponentModel.DataAnnotations; -global using System.Net; -global using System.Net.Http; -global using System.Runtime.Serialization; -global using System.Text.Json.Serialization; -global using System.Threading; -global using System.Threading.Tasks; - -global using Atc.Rest.Client; -global using Atc.Rest.Client.Builder; - -global using Microsoft.AspNetCore.Mvc; - -global using MontaPartner.ApiClient.Generated.Contracts; -global using MontaPartner.ApiClient.Generated.Contracts.Auth; -global using MontaPartner.ApiClient.Generated.Contracts.ChargeAuthTokens; -global using MontaPartner.ApiClient.Generated.Contracts.ChargePointBrands; -global using MontaPartner.ApiClient.Generated.Contracts.ChargePointConnectors; -global using MontaPartner.ApiClient.Generated.Contracts.ChargePointIntegrations; -global using MontaPartner.ApiClient.Generated.Contracts.ChargePointModels; -global using MontaPartner.ApiClient.Generated.Contracts.ChargePoints; -global using MontaPartner.ApiClient.Generated.Contracts.Charges; -global using MontaPartner.ApiClient.Generated.Contracts.Countries; -global using MontaPartner.ApiClient.Generated.Contracts.CountryAreas; -global using MontaPartner.ApiClient.Generated.Contracts.Currencies; -global using MontaPartner.ApiClient.Generated.Contracts.Insights; -global using MontaPartner.ApiClient.Generated.Contracts.InstallerJobs; -global using MontaPartner.ApiClient.Generated.Contracts.Operators; -global using MontaPartner.ApiClient.Generated.Contracts.PaymentTerminals; -global using MontaPartner.ApiClient.Generated.Contracts.Plans; -global using MontaPartner.ApiClient.Generated.Contracts.PriceGroups; -global using MontaPartner.ApiClient.Generated.Contracts.PriceGroupTags; -global using MontaPartner.ApiClient.Generated.Contracts.Prices; -global using MontaPartner.ApiClient.Generated.Contracts.Sites; -global using MontaPartner.ApiClient.Generated.Contracts.SponsoredChargePoints; -global using MontaPartner.ApiClient.Generated.Contracts.SubscriptionPurchases; -global using MontaPartner.ApiClient.Generated.Contracts.Subscriptions; -global using MontaPartner.ApiClient.Generated.Contracts.TariffPeriodGroups; -global using MontaPartner.ApiClient.Generated.Contracts.TariffRecurringPeriods; -global using MontaPartner.ApiClient.Generated.Contracts.Tariffs; -global using MontaPartner.ApiClient.Generated.Contracts.TeamMembers; -global using MontaPartner.ApiClient.Generated.Contracts.Teams; -global using MontaPartner.ApiClient.Generated.Contracts.Wallets; -global using MontaPartner.ApiClient.Generated.Contracts.WalletTransactions; -global using MontaPartner.ApiClient.Generated.Contracts.Webhooks; -global using MontaPartner.ApiClient.Generated.Endpoints.Auth.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.ChargeAuthTokens.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.ChargePointBrands.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.ChargePointConnectors.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.ChargePointIntegrations.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.ChargePointModels.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.ChargePoints.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Charges.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Consumers.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Countries.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.CountryAreas.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Currencies.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Insights.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.InstallerJobs.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Operators.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.PaymentTerminals.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Plans.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.PriceGroups.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.PriceGroupTags.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Prices.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Sites.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.SponsoredChargePoints.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.SubscriptionPurchases.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Subscriptions.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.TariffPeriodGroups.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.TariffRecurringPeriods.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Tariffs.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.TeamMembers.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Teams.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Wallets.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.WalletTransactions.Interfaces; -global using MontaPartner.ApiClient.Generated.Endpoints.Webhooks.Interfaces; \ No newline at end of file diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs index 13adcc50..27e62044 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs @@ -98,7 +98,7 @@ public async Task GenerateVerifyAndBuildForServerAllByScenario( [InlineData("ExUsers", true, false)] [InlineData("PetStore", false, false)] [InlineData("PetStore", true, false)] - [InlineData("MontaPartner", false, true)] + [InlineData("Monta", false, true)] public async Task GenerateVerifyAndBuildForClientCSharpByScenario( string scenarioName, bool useProblemDetailsAsDefaultResponseBody, From 3f387909e7e1613b4cfe64fedaa2497d338b68ba Mon Sep 17 00:00:00 2001 From: David Kallesen <david@lmdk.dk> Date: Tue, 2 Jul 2024 00:41:01 +0200 Subject: [PATCH 9/9] fix: IDE0059 --- .../ScenarioIntegrationTestBase.cs | 2 +- test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenarioIntegrationTestBase.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenarioIntegrationTestBase.cs index 4812fa6b..180eb326 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenarioIntegrationTestBase.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenarioIntegrationTestBase.cs @@ -76,7 +76,7 @@ public static DirectoryInfo GetOutputPath( ArgumentNullException.ThrowIfNull(workingPath); ArgumentNullException.ThrowIfNull(scenario); - var suffix = string.Empty; + string suffix; if (useCustomErrorResponseModel) { suffix = "WithCustomErrorResponse"; diff --git a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs index 27e62044..99adbdaa 100644 --- a/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs +++ b/test/Atc.Rest.ApiGenerator.CLI.Tests/ScenariosTests.cs @@ -404,7 +404,7 @@ private static async Task AssertVerifyCsFilesForClientCSharp( bool useProblemDetailsAsDefaultResponseBody, bool useCustomErrorResponseModel) { - var suffix = string.Empty; + string suffix; if (useCustomErrorResponseModel) { suffix = "WCEM";