|
| 1 | +"""This file was generated by xsdata, v24.2.1, on 2025-03-24 16:18:27 |
| 2 | +
|
| 3 | +Generator: DataclassGenerator |
| 4 | +See: https://xsdata.readthedocs.io/ |
| 5 | +""" |
| 6 | + |
| 7 | +from dataclasses import dataclass, field |
| 8 | +from nfelib import CommonMixin |
| 9 | +from typing import Dict, List, Optional |
| 10 | + |
| 11 | +__NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe" |
| 12 | + |
| 13 | + |
| 14 | +@dataclass |
| 15 | +class MdfeCabecMsg(CommonMixin): |
| 16 | + class Meta: |
| 17 | + name = "mdfeCabecMsg" |
| 18 | + namespace = ( |
| 19 | + "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe" |
| 20 | + ) |
| 21 | + |
| 22 | + cUF: Optional[str] = field( |
| 23 | + default=None, |
| 24 | + metadata={ |
| 25 | + "type": "Element", |
| 26 | + }, |
| 27 | + ) |
| 28 | + versaoDados: Optional[str] = field( |
| 29 | + default=None, |
| 30 | + metadata={ |
| 31 | + "type": "Element", |
| 32 | + }, |
| 33 | + ) |
| 34 | + any_attributes: Dict[str, str] = field( |
| 35 | + default_factory=dict, |
| 36 | + metadata={ |
| 37 | + "type": "Attributes", |
| 38 | + "namespace": "##any", |
| 39 | + }, |
| 40 | + ) |
| 41 | + |
| 42 | + |
| 43 | +@dataclass |
| 44 | +class MdfeDadosMsg(CommonMixin): |
| 45 | + class Meta: |
| 46 | + name = "mdfeDadosMsg" |
| 47 | + namespace = ( |
| 48 | + "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe" |
| 49 | + ) |
| 50 | + |
| 51 | + content: List[object] = field( |
| 52 | + default_factory=list, |
| 53 | + metadata={ |
| 54 | + "type": "Wildcard", |
| 55 | + "namespace": "##any", |
| 56 | + "mixed": True, |
| 57 | + }, |
| 58 | + ) |
| 59 | + |
| 60 | + |
| 61 | +@dataclass |
| 62 | +class MdfeDistDfeInteresseResult(CommonMixin): |
| 63 | + class Meta: |
| 64 | + name = "mdfeDistDFeInteresseResult" |
| 65 | + namespace = ( |
| 66 | + "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe" |
| 67 | + ) |
| 68 | + |
| 69 | + content: List[object] = field( |
| 70 | + default_factory=list, |
| 71 | + metadata={ |
| 72 | + "type": "Wildcard", |
| 73 | + "namespace": "##any", |
| 74 | + "mixed": True, |
| 75 | + }, |
| 76 | + ) |
| 77 | + |
| 78 | + |
| 79 | +@dataclass |
| 80 | +class MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseInput(CommonMixin): |
| 81 | + class Meta: |
| 82 | + name = "Envelope" |
| 83 | + namespace = "http://schemas.xmlsoap.org/soap/envelope/" |
| 84 | + |
| 85 | + Body: Optional[ |
| 86 | + "MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseInput.Body" |
| 87 | + ] = field( |
| 88 | + default=None, |
| 89 | + metadata={ |
| 90 | + "type": "Element", |
| 91 | + }, |
| 92 | + ) |
| 93 | + Header: Optional[ |
| 94 | + "MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseInput.Header" |
| 95 | + ] = field( |
| 96 | + default=None, |
| 97 | + metadata={ |
| 98 | + "type": "Element", |
| 99 | + }, |
| 100 | + ) |
| 101 | + |
| 102 | + @dataclass |
| 103 | + class Body(CommonMixin): |
| 104 | + mdfeDadosMsg: Optional[MdfeDadosMsg] = field( |
| 105 | + default=None, |
| 106 | + metadata={ |
| 107 | + "type": "Element", |
| 108 | + "namespace": "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe", |
| 109 | + }, |
| 110 | + ) |
| 111 | + |
| 112 | + @dataclass |
| 113 | + class Header(CommonMixin): |
| 114 | + mdfeCabecMsg: Optional[MdfeCabecMsg] = field( |
| 115 | + default=None, |
| 116 | + metadata={ |
| 117 | + "type": "Element", |
| 118 | + "namespace": "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe", |
| 119 | + }, |
| 120 | + ) |
| 121 | + |
| 122 | + |
| 123 | +@dataclass |
| 124 | +class MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseOutput(CommonMixin): |
| 125 | + class Meta: |
| 126 | + name = "Envelope" |
| 127 | + namespace = "http://schemas.xmlsoap.org/soap/envelope/" |
| 128 | + |
| 129 | + Body: Optional[ |
| 130 | + "MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseOutput.Body" |
| 131 | + ] = field( |
| 132 | + default=None, |
| 133 | + metadata={ |
| 134 | + "type": "Element", |
| 135 | + }, |
| 136 | + ) |
| 137 | + Header: Optional[ |
| 138 | + "MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseOutput.Header" |
| 139 | + ] = field( |
| 140 | + default=None, |
| 141 | + metadata={ |
| 142 | + "type": "Element", |
| 143 | + }, |
| 144 | + ) |
| 145 | + |
| 146 | + @dataclass |
| 147 | + class Body(CommonMixin): |
| 148 | + mdfeDistDFeInteresseResult: Optional[MdfeDistDfeInteresseResult] = ( |
| 149 | + field( |
| 150 | + default=None, |
| 151 | + metadata={ |
| 152 | + "type": "Element", |
| 153 | + "namespace": "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe", |
| 154 | + }, |
| 155 | + ) |
| 156 | + ) |
| 157 | + Fault: Optional[ |
| 158 | + "MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseOutput.Body.Fault" |
| 159 | + ] = field( |
| 160 | + default=None, |
| 161 | + metadata={ |
| 162 | + "type": "Element", |
| 163 | + }, |
| 164 | + ) |
| 165 | + |
| 166 | + @dataclass |
| 167 | + class Fault(CommonMixin): |
| 168 | + faultcode: Optional[str] = field( |
| 169 | + default=None, |
| 170 | + metadata={ |
| 171 | + "type": "Element", |
| 172 | + "namespace": "", |
| 173 | + }, |
| 174 | + ) |
| 175 | + faultstring: Optional[str] = field( |
| 176 | + default=None, |
| 177 | + metadata={ |
| 178 | + "type": "Element", |
| 179 | + "namespace": "", |
| 180 | + }, |
| 181 | + ) |
| 182 | + faultactor: Optional[str] = field( |
| 183 | + default=None, |
| 184 | + metadata={ |
| 185 | + "type": "Element", |
| 186 | + "namespace": "", |
| 187 | + }, |
| 188 | + ) |
| 189 | + detail: Optional[str] = field( |
| 190 | + default=None, |
| 191 | + metadata={ |
| 192 | + "type": "Element", |
| 193 | + "namespace": "", |
| 194 | + }, |
| 195 | + ) |
| 196 | + |
| 197 | + @dataclass |
| 198 | + class Header(CommonMixin): |
| 199 | + mdfeCabecMsg: Optional[MdfeCabecMsg] = field( |
| 200 | + default=None, |
| 201 | + metadata={ |
| 202 | + "type": "Element", |
| 203 | + "namespace": "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe", |
| 204 | + }, |
| 205 | + ) |
| 206 | + |
| 207 | + |
| 208 | +class MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresse: |
| 209 | + style = "document" |
| 210 | + location = "https://mdfe.svrs.rs.gov.br/ws/MDFeDistribuicaoDFe/MDFeDistribuicaoDFe.asmx" |
| 211 | + transport = "http://schemas.xmlsoap.org/soap/http" |
| 212 | + soapAction = "http://www.portalfiscal.inf.br/mdfe/wsdl/MDFeDistribuicaoDFe/mdfeDistDFeInteresse" |
| 213 | + input = MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseInput |
| 214 | + output = MdfeDistribuicaoDfeSoap12MdfeDistDfeInteresseOutput |
0 commit comments