/* Options: Date: 2024-11-26 04:20:21 Version: 8.12 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateUuidAsync.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Specifies a base service to generate a Universal Unique Identifier. */ // @Api(Description="Specifies a base service to generate a Universal Unique Identifier.") abstract class CreateUuidBase implements IGet { CreateUuidBase(); CreateUuidBase.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "CreateUuidBase"; TypeContext? context = _ctx; } /** * Enumeration of ERiC API error codes. */ enum EricFehlerCode { ERIC_OK, ERIC_GLOBAL_UNKNOWN, ERIC_GLOBAL_PRUEF_FEHLER, ERIC_GLOBAL_HINWEISE, ERIC_GLOBAL_FEHLERMELDUNG_NICHT_VORHANDEN, ERIC_GLOBAL_KEINE_DATEN_VORHANDEN, ERIC_GLOBAL_NICHT_GENUEGEND_ARBEITSSPEICHER, ERIC_GLOBAL_DATEI_NICHT_GEFUNDEN, ERIC_GLOBAL_HERSTELLER_ID_NICHT_ERLAUBT, ERIC_GLOBAL_ILLEGAL_STATE, ERIC_GLOBAL_FUNKTION_NICHT_ERLAUBT, ERIC_GLOBAL_ECHTFALL_NICHT_ERLAUBT, ERIC_GLOBAL_NO_VERSAND_IN_BETA_VERSION, ERIC_GLOBAL_TESTMERKER_UNGUELTIG, ERIC_GLOBAL_DATENSATZ_ZU_GROSS, ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ERLAUBT, ERIC_GLOBAL_NUR_PORTALZERTIFIKAT_ERLAUBT, ERIC_GLOBAL_ABRUFCODE_NICHT_ERLAUBT, ERIC_GLOBAL_ERROR_XML_CREATE, ERIC_GLOBAL_TEXTPUFFERGROESSE_FIX, ERIC_GLOBAL_INTERNER_FEHLER, ERIC_GLOBAL_ARITHMETIKFEHLER, ERIC_GLOBAL_STEUERNUMMER_UNGUELTIG, ERIC_GLOBAL_STEUERNUMMER_FALSCHE_LAENGE, ERIC_GLOBAL_STEUERNUMMER_NICHT_NUMERISCH, ERIC_GLOBAL_LANDESNUMMER_UNBEKANNT, ERIC_GLOBAL_BUFANR_UNBEKANNT, ERIC_GLOBAL_LANDESNUMMER_BUFANR, ERIC_GLOBAL_PUFFER_ZUGRIFFSKONFLIKT, ERIC_GLOBAL_PUFFER_UEBERLAUF, ERIC_GLOBAL_DATENARTVERSION_UNBEKANNT, ERIC_GLOBAL_DATENARTVERSION_XML_INKONSISTENT, ERIC_GLOBAL_COMMONDATA_NICHT_VERFUEGBAR, ERIC_GLOBAL_LOG_EXCEPTION, ERIC_GLOBAL_TRANSPORTSCHLUESSEL_NICHT_ERLAUBT, ERIC_GLOBAL_OEFFENTLICHER_SCHLUESSEL_UNGUELTIG, ERIC_GLOBAL_TRANSPORTSCHLUESSEL_TYP_FALSCH, ERIC_GLOBAL_PUFFER_UNGLEICHER_INSTANZ, ERIC_GLOBAL_VORSATZ_UNGUELTIG, ERIC_GLOBAL_DATEIZUGRIFF_VERWEIGERT, ERIC_GLOBAL_UNGUELTIGE_INSTANZ, ERIC_GLOBAL_NICHT_INITIALISIERT, ERIC_GLOBAL_MEHRFACHE_INITIALISIERUNG, ERIC_GLOBAL_FEHLER_INITIALISIERUNG, ERIC_GLOBAL_UNKNOWN_PARAMETER_ERROR, ERIC_GLOBAL_CHECK_CORRUPTED_NDS, ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ANGEGEBEN, ERIC_GLOBAL_SEND_FLAG_MEHR_ALS_EINES, ERIC_GLOBAL_UNGUELTIGE_FLAG_KOMBINATION, ERIC_GLOBAL_ERSTE_SEITE_DRUCK_NICHT_UNTERSTUETZT, ERIC_GLOBAL_UNGUELTIGER_PARAMETER, ERIC_GLOBAL_DRUCK_FUER_VERFAHREN_NICHT_ERLAUBT, ERIC_GLOBAL_VERSAND_ART_NICHT_UNTERSTUETZT, ERIC_GLOBAL_UNGUELTIGE_PARAMETER_VERSION, ERIC_GLOBAL_TRANSFERHANDLE, ERIC_GLOBAL_PLUGININITIALISIERUNG, ERIC_GLOBAL_INKOMPATIBLE_VERSIONEN, ERIC_GLOBAL_VERSCHLUESSELUNGSVERFAHREN_NICHT_UNTERSTUETZT, ERIC_GLOBAL_MEHRFACHAUFRUFE_NICHT_UNTERSTUETZT, ERIC_GLOBAL_UTI_COUNTRY_NOT_SUPPORTED, ERIC_GLOBAL_IBAN_FORMALER_FEHLER, ERIC_GLOBAL_IBAN_LAENDERCODE_FEHLER, ERIC_GLOBAL_IBAN_LANDESFORMAT_FEHLER, ERIC_GLOBAL_IBAN_PRUEFZIFFER_FEHLER, ERIC_GLOBAL_BIC_FORMALER_FEHLER, ERIC_GLOBAL_BIC_LAENDERCODE_FEHLER, ERIC_GLOBAL_ZULASSUNGSNUMMER_ZU_LANG, ERIC_GLOBAL_IDNUMMER_UNGUELTIG, ERIC_GLOBAL_NULL_PARAMETER, ERIC_GLOBAL_EWAZ_UNGUELTIG, ERIC_GLOBAL_EWAZ_LANDESKUERZEL_UNBEKANNT, ERIC_GLOBAL_UPDATE_NECESSARY, ERIC_GLOBAL_EINSTELLUNG_NAME_UNGUELTIG, ERIC_GLOBAL_EINSTELLUNG_WERT_UNGUELTIG, ERIC_GLOBAL_ERR_DEKODIEREN, ERIC_GLOBAL_FUNKTION_NICHT_UNTERSTUETZT, ERIC_GLOBAL_NUTZDATENTICKETS_NICHT_EINDEUTIG, ERIC_GLOBAL_NUTZDATENHEADERVERSIONEN_UNEINHEITLICH, ERIC_GLOBAL_BUNDESLAENDER_UNEINHEITLICH, ERIC_GLOBAL_ZEITRAEUME_UNEINHEITLICH, ERIC_GLOBAL_NUTZDATENHEADER_EMPFAENGER_NICHT_KORREKT, ERIC_TRANSFER_COM_ERROR, ERIC_TRANSFER_VORGANG_NICHT_UNTERSTUETZT, ERIC_TRANSFER_ERR_XML_THEADER, ERIC_TRANSFER_ERR_PARAM, ERIC_TRANSFER_ERR_DATENTEILENDNOTFOUND, ERIC_TRANSFER_ERR_BEGINDATENLIEFERANT, ERIC_TRANSFER_ERR_ENDDATENLIEFERANT, ERIC_TRANSFER_ERR_BEGINTRANSPORTSCHLUESSEL, ERIC_TRANSFER_ERR_ENDTRANSPORTSCHLUESSEL, ERIC_TRANSFER_ERR_BEGINDATENGROESSE, ERIC_TRANSFER_ERR_ENDDATENGROESSE, ERIC_TRANSFER_ERR_SEND, ERIC_TRANSFER_ERR_NOTENCRYPTED, ERIC_TRANSFER_ERR_PROXYCONNECT, ERIC_TRANSFER_ERR_CONNECTSERVER, ERIC_TRANSFER_ERR_NORESPONSE, ERIC_TRANSFER_ERR_PROXYAUTH, ERIC_TRANSFER_ERR_SEND_INIT, ERIC_TRANSFER_ERR_TIMEOUT, ERIC_TRANSFER_ERR_PROXYPORT_INVALID, ERIC_TRANSFER_ERR_OTHER, ERIC_TRANSFER_ERR_XML_NHEADER, ERIC_TRANSFER_ERR_XML_ENCODING, ERIC_TRANSFER_ERR_ENDSIGUSER, ERIC_TRANSFER_ERR_XMLTAG_NICHT_GEFUNDEN, ERIC_TRANSFER_ERR_DATENTEILFEHLER, ERIC_TRANSFER_EID_ZERTIFIKATFEHLER, ERIC_TRANSFER_EID_KEINKONTO, ERIC_TRANSFER_EID_IDNRNICHTEINDEUTIG, ERIC_TRANSFER_EID_SERVERFEHLER, ERIC_TRANSFER_EID_KEINCLIENT, ERIC_TRANSFER_EID_CLIENTFEHLER, ERIC_TRANSFER_EID_FEHLENDEFELDER, ERIC_TRANSFER_EID_IDENTIFIKATIONABGEBROCHEN, ERIC_TRANSFER_EID_NPABLOCKIERT, ERIC_CRYPT_ERROR_CREATE_KEY, ERIC_CRYPT_E_INVALID_HANDLE, ERIC_CRYPT_E_MAX_SESSION, ERIC_CRYPT_E_BUSY, ERIC_CRYPT_E_OUT_OF_MEM, ERIC_CRYPT_E_PSE_PATH, ERIC_CRYPT_E_PIN_WRONG, ERIC_CRYPT_E_PIN_LOCKED, ERIC_CRYPT_E_P7_READ, ERIC_CRYPT_E_P7_DECODE, ERIC_CRYPT_E_P7_RECIPIENT, ERIC_CRYPT_E_P12_READ, ERIC_CRYPT_E_P12_DECODE, ERIC_CRYPT_E_P12_SIG_KEY, ERIC_CRYPT_E_P12_ENC_KEY, ERIC_CRYPT_E_P11_SIG_KEY, ERIC_CRYPT_E_P11_ENC_KEY, ERIC_CRYPT_E_XML_PARSE, ERIC_CRYPT_E_XML_SIG_ADD, ERIC_CRYPT_E_XML_SIG_TAG, ERIC_CRYPT_E_XML_SIG_SIGN, ERIC_CRYPT_E_ENCODE_UNKNOWN, ERIC_CRYPT_E_ENCODE_ERROR, ERIC_CRYPT_E_XML_INIT, ERIC_CRYPT_E_ENCRYPT, ERIC_CRYPT_E_DECRYPT, ERIC_CRYPT_E_P11_SLOT_EMPTY, ERIC_CRYPT_E_NO_SIG_ENC_KEY, ERIC_CRYPT_E_LOAD_DLL, ERIC_CRYPT_E_NO_SERVICE, ERIC_CRYPT_E_ESICL_EXCEPTION, ERIC_CRYPT_E_TOKEN_TYPE_MISMATCH, ERIC_CRYPT_E_P12_CREATE, ERIC_CRYPT_E_VERIFY_CERT_CHAIN, ERIC_CRYPT_E_P11_ENGINE_LOADED, ERIC_CRYPT_E_USER_CANCEL, ERIC_CRYPT_ZERTIFIKAT, ERIC_CRYPT_SIGNATUR, ERIC_CRYPT_NICHT_UNTERSTUETZTES_PSE_FORMAT, ERIC_CRYPT_PIN_BENOETIGT, ERIC_CRYPT_PIN_STAERKE_NICHT_AUSREICHEND, ERIC_CRYPT_E_INTERN, ERIC_CRYPT_ZERTIFIKATSPFAD_KEIN_VERZEICHNIS, ERIC_CRYPT_ZERTIFIKATSDATEI_EXISTIERT_BEREITS, ERIC_CRYPT_PIN_ENTHAELT_UNGUELTIGE_ZEICHEN, ERIC_CRYPT_E_INVALID_PARAM_ABC, ERIC_CRYPT_CORRUPTED, ERIC_CRYPT_EIDKARTE_NICHT_UNTERSTUETZT, ERIC_CRYPT_E_SC_SLOT_EMPTY, ERIC_CRYPT_E_SC_NO_APPLET, ERIC_CRYPT_E_SC_SESSION, ERIC_CRYPT_E_P11_NO_SIG_CERT, ERIC_CRYPT_E_P11_INIT_FAILED, ERIC_CRYPT_E_P11_NO_ENC_CERT, ERIC_CRYPT_E_P12_NO_SIG_CERT, ERIC_CRYPT_E_P12_NO_ENC_CERT, ERIC_CRYPT_E_SC_ENC_KEY, ERIC_CRYPT_E_SC_NO_SIG_CERT, ERIC_CRYPT_E_SC_NO_ENC_CERT, ERIC_CRYPT_E_SC_INIT_FAILED, ERIC_CRYPT_E_SC_SIG_KEY, ERIC_IO_FEHLER, ERIC_IO_DATEI_INKORREKT, ERIC_IO_PARSE_FEHLER, ERIC_IO_NDS_GENERIERUNG_FEHLGESCHLAGEN, ERIC_IO_MASTERDATENSERVICE_NICHT_VERFUEGBAR, ERIC_IO_STEUERZEICHEN_IM_NDS, ERIC_IO_VERSIONSINFORMATIONEN_NICHT_GEFUNDEN, ERIC_IO_FALSCHES_VERFAHREN, ERIC_IO_READER_MEHRFACHE_STEUERFAELLE, ERIC_IO_READER_UNERWARTETE_ELEMENTE, ERIC_IO_READER_FORMALE_FEHLER, ERIC_IO_READER_FALSCHES_ENCODING, ERIC_IO_READER_MEHRFACHE_NUTZDATEN_ELEMENTE, ERIC_IO_READER_MEHRFACHE_NUTZDATENBLOCK_ELEMENTE, ERIC_IO_UNBEKANNTE_DATENART, ERIC_IO_READER_UNTERSACHBEREICH_UNGUELTIG, ERIC_IO_READER_ZU_VIELE_NUTZDATENBLOCK_ELEMENTE, ERIC_IO_READER_STEUERZEICHEN_IM_TRANSFERHEADER, ERIC_IO_READER_STEUERZEICHEN_IM_NUTZDATENHEADER, ERIC_IO_READER_STEUERZEICHEN_IN_DEN_NUTZDATEN, ERIC_IO_READER_ZU_VIELE_ANHAENGE, ERIC_IO_READER_ANHANG_ZU_GROSS, ERIC_IO_READER_ANHAENGE_ZU_GROSS, ERIC_IO_READER_SCHEMA_VALIDIERUNGSFEHLER, ERIC_IO_READER_UNBEKANNTE_XML_ENTITY, ERIC_IO_DATENTEILNOTFOUND, ERIC_IO_DATENTEILENDNOTFOUND, ERIC_IO_UEBERGABEPARAMETER_FEHLERHAFT, ERIC_IO_UNGUELTIGE_UTF8_SEQUENZ, ERIC_IO_UNGUELTIGE_ZEICHEN_IN_PARAMETER, ERIC_PRINT_INTERNER_FEHLER, ERIC_PRINT_DRUCKVORLAGE_NICHT_GEFUNDEN, ERIC_PRINT_UNGUELTIGER_DATEI_PFAD, ERIC_PRINT_INITIALISIERUNG_FEHLERHAFT, ERIC_PRINT_AUSGABEZIEL_UNBEKANNT, ERIC_PRINT_ABBRUCH_DRUCKVORBEREITUNG, ERIC_PRINT_ABBRUCH_GENERIERUNG, ERIC_PRINT_STEUERFALL_NICHT_UNTERSTUETZT, ERIC_PRINT_FUSSTEXT_ZU_LANG, } /** * Specifies a service response from an ERiC service operation. */ // @Api(Description="Specifies a service response from an ERiC service operation.") abstract class ServiceReponseBase implements IHasIndex { /** * The unique identifier of the response. */ // @ApiMember(Description="The unique identifier of the response.", Name="Id") String? id; /** * The position of the response element in an indexed collection. */ // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index") int? index; /** * Metadata that contains structured error information on the service response. */ // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus") ResponseStatus? responseStatus; ServiceReponseBase({this.id,this.index,this.responseStatus}); ServiceReponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; index = json['index']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'id': id, 'index': index, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "ServiceReponseBase"; TypeContext? context = _ctx; } /** * Represent a base response that encapsulate any ERiC API function return value. */ // @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") class EricFehlerCodeResponse extends ServiceReponseBase implements IConvertible { /** * The status code that the ERiC API function returns. */ // @ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode") EricFehlerCode? statusCode; /** * The status message that the ERiC API function returns. */ // @ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText") String? statusText; /** * The unique identifier of the response. */ // @ApiMember(Description="The unique identifier of the response.", Name="Id") String? id; /** * The position of the response element in an indexed collection. */ // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index") int? index; /** * Metadata that contains structured error information on the service response. */ // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus") ResponseStatus? responseStatus; EricFehlerCodeResponse({this.statusCode,this.statusText,this.id,this.index,this.responseStatus}); EricFehlerCodeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!); statusText = json['statusText']; id = json['id']; index = json['index']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => super.toJson()..addAll({ 'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!), 'statusText': statusText, 'id': id, 'index': index, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }); getTypeName() => "EricFehlerCodeResponse"; TypeContext? context = _ctx; } abstract class IHasIndex { int? index; } /** * Represents a type that encaspulates a Universal Unique Identifier (UUID). */ // @Api(Description="Represents a type that encaspulates a Universal Unique Identifier (UUID).") class UuidResponse extends EricFehlerCodeResponse implements IConvertible { /** * The generated Universal Unique Identifier. */ // @ApiMember(Description="The generated Universal Unique Identifier.") String? uuid; /** * The status code that the ERiC API function returns. */ // @ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode") EricFehlerCode? statusCode; /** * The status message that the ERiC API function returns. */ // @ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText") String? statusText; /** * The unique identifier of the response. */ // @ApiMember(Description="The unique identifier of the response.", Name="Id") String? id; /** * The position of the response element in an indexed collection. */ // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index") int? index; /** * Metadata that contains structured error information on the service response. */ // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus") ResponseStatus? responseStatus; UuidResponse({this.uuid,this.statusCode,this.statusText,this.id,this.index,this.responseStatus}); UuidResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); uuid = json['uuid']; statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!); statusText = json['statusText']; id = json['id']; index = json['index']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => super.toJson()..addAll({ 'uuid': uuid, 'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!), 'statusText': statusText, 'id': id, 'index': index, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }); getTypeName() => "UuidResponse"; TypeContext? context = _ctx; } /** * An asynchronous service to generate a Universal Unique Identifier. */ // @Route("/CreateUuidAsync", "GET") // @Api(Description="An asynchronous service to generate a Universal Unique Identifier.") class CreateUuidAsync extends CreateUuidBase implements IReturn, IConvertible, IGet { CreateUuidAsync(); CreateUuidAsync.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => UuidResponse(); getResponseTypeName() => "UuidResponse"; getTypeName() => "CreateUuidAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'CreateUuidBase': TypeInfo(TypeOf.AbstractClass), 'EricFehlerCode': TypeInfo(TypeOf.Enum, enumValues:EricFehlerCode.values), 'ServiceReponseBase': TypeInfo(TypeOf.AbstractClass), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'IHasIndex': TypeInfo(TypeOf.Interface), 'UuidResponse': TypeInfo(TypeOf.Class, create:() => UuidResponse()), 'CreateUuidAsync': TypeInfo(TypeOf.Class, create:() => CreateUuidAsync()), });