This commit implements a complete rebranding of the project: - Updated all namespaces from `DocumentOperator` to `DocumentService`. - Renamed file paths, embedded resources, and test data references. - Updated configuration keys, logging paths, and Redis instance names. - Revised documentation to reflect the new project name. - Modified project and solution files to align with the new structure. - Updated class names, DTOs, commands, queries, and handlers. - Adjusted middleware, controllers, and API endpoints. - Updated Swagger metadata and API titles to `DocumentService API`. - Refactored test namespaces, resource paths, and embedded resources. - Updated build and deployment configurations for the new name. - Replaced all references to `DocumentOperator` in comments and literals. These changes ensure consistency across the codebase and documentation.
38 lines
971 B
C#
38 lines
971 B
C#
namespace DocumentService.Application.Common.DTOs;
|
|
|
|
/// <summary>
|
|
/// Response containing extracted Swiss QR Code in dual format.
|
|
/// </summary>
|
|
/// <param name="Bill">Parsed Swiss QR Bill (structured format)</param>
|
|
/// <param name="RawLines">Raw Swiss QR Code lines (original newline-separated format)</param>
|
|
/// <example>
|
|
/// {
|
|
/// "bill": {
|
|
/// "version": "V2_0",
|
|
/// "amount": 630.20,
|
|
/// "currency": "CHF",
|
|
/// "account": "CH953000520280564701R",
|
|
/// "creditor": {
|
|
/// "type": "Structured",
|
|
/// "name": "ALMAT AG",
|
|
/// "town": "Tagelswangen"
|
|
/// },
|
|
/// "referenceType": "QRR",
|
|
/// "reference": "000000000000000000252080824"
|
|
/// },
|
|
/// "rawLines": [
|
|
/// "SPC",
|
|
/// "0200",
|
|
/// "1",
|
|
/// "CH953000520280564701R",
|
|
/// "S",
|
|
/// "ALMAT AG",
|
|
/// "..."
|
|
/// ]
|
|
/// }
|
|
/// </example>
|
|
public record SwissQrCodeExtractionResult(
|
|
SwissQrBillDto Bill,
|
|
IReadOnlyList<string> RawLines
|
|
);
|