@@ -194,7 +194,6 @@ def __init__(self, api_key: str = "", raise_on_error: bool = True):
194194 def _init_default_endpoints (self ) -> None :
195195 self ._doc_configs = {
196196 (OTS_OWNER , InvoiceV3 .__name__ ): DocumentConfig (
197- document_type = "invoice_v3" ,
198197 document_class = InvoiceV3 ,
199198 endpoints = [
200199 StandardEndpoint (
@@ -203,7 +202,6 @@ def _init_default_endpoints(self) -> None:
203202 ],
204203 ),
205204 (OTS_OWNER , InvoiceV4 .__name__ ): DocumentConfig (
206- document_type = "invoice_v4" ,
207205 document_class = InvoiceV4 ,
208206 endpoints = [
209207 StandardEndpoint (
@@ -212,7 +210,6 @@ def _init_default_endpoints(self) -> None:
212210 ],
213211 ),
214212 (OTS_OWNER , ReceiptV3 .__name__ ): DocumentConfig (
215- document_type = "receipt_v3" ,
216213 document_class = ReceiptV3 ,
217214 endpoints = [
218215 StandardEndpoint (
@@ -221,7 +218,6 @@ def _init_default_endpoints(self) -> None:
221218 ],
222219 ),
223220 (OTS_OWNER , ReceiptV4 .__name__ ): DocumentConfig (
224- document_type = "receipt_v4" ,
225221 document_class = ReceiptV4 ,
226222 endpoints = [
227223 StandardEndpoint (
@@ -230,7 +226,6 @@ def _init_default_endpoints(self) -> None:
230226 ],
231227 ),
232228 (OTS_OWNER , FinancialV1 .__name__ ): DocumentConfig (
233- document_type = "financial_doc" ,
234229 document_class = FinancialV1 ,
235230 endpoints = [
236231 StandardEndpoint (
@@ -242,7 +237,6 @@ def _init_default_endpoints(self) -> None:
242237 ],
243238 ),
244239 (OTS_OWNER , FinancialDocumentV1 .__name__ ): DocumentConfig (
245- document_type = "financial_document" ,
246240 document_class = FinancialDocumentV1 ,
247241 endpoints = [
248242 StandardEndpoint (
@@ -251,7 +245,6 @@ def _init_default_endpoints(self) -> None:
251245 ],
252246 ),
253247 (OTS_OWNER , PassportV1 .__name__ ): DocumentConfig (
254- document_type = "passport_v1" ,
255248 document_class = PassportV1 ,
256249 endpoints = [
257250 StandardEndpoint (
@@ -260,7 +253,6 @@ def _init_default_endpoints(self) -> None:
260253 ],
261254 ),
262255 (OTS_OWNER , us .BankCheckV1 .__name__ ): DocumentConfig (
263- document_type = "bank_check_v1" ,
264256 document_class = us .BankCheckV1 ,
265257 endpoints = [
266258 StandardEndpoint (
@@ -269,7 +261,6 @@ def _init_default_endpoints(self) -> None:
269261 ],
270262 ),
271263 (OTS_OWNER , fr .CarteGriseV1 .__name__ ): DocumentConfig (
272- document_type = "carte_grise_v1" ,
273264 document_class = fr .CarteGriseV1 ,
274265 endpoints = [
275266 StandardEndpoint (
@@ -278,7 +269,6 @@ def _init_default_endpoints(self) -> None:
278269 ],
279270 ),
280271 (OTS_OWNER , ProofOfAddressV1 .__name__ ): DocumentConfig (
281- document_type = "proof_of_address_v1" ,
282272 document_class = ProofOfAddressV1 ,
283273 endpoints = [
284274 StandardEndpoint (
@@ -287,7 +277,6 @@ def _init_default_endpoints(self) -> None:
287277 ],
288278 ),
289279 (OTS_OWNER , CropperV1 .__name__ ): DocumentConfig (
290- document_type = "cropper_v1" ,
291280 document_class = CropperV1 ,
292281 endpoints = [
293282 StandardEndpoint (
0 commit comments