@@ -16,82 +16,112 @@ class CommandConfig(Generic[TypeInference]):
1616
1717
1818PRODUCTS : Dict [str , CommandConfig ] = {
19- # "address-proof": CommandConfig(
20- # help="Address Proof",
21- # doc_class=product.AddressProofV1,
22- # is_sync=False,
23- # is_async=True,
24- # ),
19+ "custom" : CommandConfig (
20+ help = "Custom document type from API builder" ,
21+ doc_class = product .CustomV1 ,
22+ is_sync = True ,
23+ is_async = False ,
24+ ),
25+ "generated" : CommandConfig (
26+ help = "Generated products from docTI" ,
27+ doc_class = product .GeneratedV1 ,
28+ is_sync = True ,
29+ is_async = True ,
30+ ),
2531 "barcode-reader" : CommandConfig (
26- help = "Barcode-reader tool " ,
32+ help = "Barcode Reader " ,
2733 doc_class = product .BarcodeReaderV1 ,
2834 is_sync = True ,
2935 is_async = False ,
3036 ),
37+ "bill-of-lading" : CommandConfig (
38+ help = "Bill of Lading" ,
39+ doc_class = product .BillOfLadingV1 ,
40+ is_sync = False ,
41+ is_async = True ,
42+ ),
43+ "business-card" : CommandConfig (
44+ help = "Business Card" ,
45+ doc_class = product .BusinessCardV1 ,
46+ is_sync = False ,
47+ is_async = True ,
48+ ),
3149 "cropper" : CommandConfig (
32- help = "Cropper tool " ,
50+ help = "Cropper" ,
3351 doc_class = product .CropperV1 ,
3452 is_sync = True ,
3553 is_async = False ,
3654 ),
37- "custom " : CommandConfig (
38- help = "Custom document type from API builder " ,
39- doc_class = product .CustomV1 ,
40- is_sync = True ,
41- is_async = False ,
55+ "delivery-note " : CommandConfig (
56+ help = "Delivery note " ,
57+ doc_class = product .DeliveryNoteV1 ,
58+ is_sync = False ,
59+ is_async = True ,
4260 ),
4361 "driver-license" : CommandConfig (
4462 help = "Driver License" ,
4563 doc_class = product .DriverLicenseV1 ,
4664 is_sync = False ,
4765 is_async = True ,
4866 ),
67+ "eu-license-plate" : CommandConfig (
68+ help = "License Plate" ,
69+ doc_class = product .eu .LicensePlateV1 ,
70+ is_sync = True ,
71+ is_async = False ,
72+ ),
4973 "financial-document" : CommandConfig (
50- help = "Financial Document (receipt or invoice) " ,
74+ help = "Financial Document" ,
5175 doc_class = product .FinancialDocumentV1 ,
5276 is_sync = True ,
5377 is_async = True ,
5478 ),
5579 "fr-bank-account-details" : CommandConfig (
56- help = "FR Bank Account Details" ,
80+ help = "Bank Account Details" ,
5781 doc_class = product .fr .BankAccountDetailsV2 ,
5882 is_sync = True ,
5983 is_async = False ,
6084 ),
6185 "fr-carte-grise" : CommandConfig (
62- help = "FR Carte Grise" ,
86+ help = "Carte Grise" ,
6387 doc_class = product .fr .CarteGriseV1 ,
6488 is_sync = True ,
6589 is_async = False ,
6690 ),
91+ "fr-energy-bill" : CommandConfig (
92+ help = "Energy Bill" ,
93+ doc_class = product .fr .EnergyBillV1 ,
94+ is_sync = False ,
95+ is_async = True ,
96+ ),
6797 "fr-health-card" : CommandConfig (
68- help = "FR Health Card" ,
98+ help = "Health Card" ,
6999 doc_class = product .fr .HealthCardV1 ,
70100 is_sync = False ,
71101 is_async = True ,
72102 ),
73- "fr-id-card " : CommandConfig (
74- help = "FR ID Card " ,
103+ "fr-carte-nationale-d-identite " : CommandConfig (
104+ help = "Carte Nationale d'Identité " ,
75105 doc_class = product .fr .IdCardV2 ,
76106 is_sync = True ,
77107 is_async = False ,
78108 ),
79109 "fr-payslip" : CommandConfig (
80- help = "FR Payslip" ,
110+ help = "Payslip" ,
81111 doc_class = product .fr .PayslipV3 ,
82112 is_sync = False ,
83113 is_async = True ,
84114 ),
85- "fr-petrol-receipt " : CommandConfig (
86- help = "FR Petrol Receipt " ,
87- doc_class = product .fr . PetrolReceiptV1 ,
88- is_sync = True ,
89- is_async = False ,
115+ "ind-passport-india " : CommandConfig (
116+ help = "Passport - India " ,
117+ doc_class = product .ind . IndianPassportV1 ,
118+ is_sync = False ,
119+ is_async = True ,
90120 ),
91- "generated " : CommandConfig (
92- help = "Generated " ,
93- doc_class = product .GeneratedV1 ,
94- is_sync = True ,
121+ "international-id " : CommandConfig (
122+ help = "International ID " ,
123+ doc_class = product .InternationalIdV2 ,
124+ is_sync = False ,
95125 is_async = True ,
96126 ),
97127 "invoice" : CommandConfig (
@@ -100,12 +130,6 @@ class CommandConfig(Generic[TypeInference]):
100130 is_sync = True ,
101131 is_async = True ,
102132 ),
103- "international-id" : CommandConfig (
104- help = "International ID" ,
105- doc_class = product .InternationalIdV2 ,
106- is_sync = False ,
107- is_async = True ,
108- ),
109133 "invoice-splitter" : CommandConfig (
110134 help = "Invoice Splitter" ,
111135 doc_class = product .InvoiceSplitterV1 ,
@@ -118,23 +142,29 @@ class CommandConfig(Generic[TypeInference]):
118142 is_sync = False ,
119143 is_async = True ,
120144 ),
121- "multi-receipts" : CommandConfig (
122- help = "Multi-receipts detector " ,
145+ "multi-receipts-detector " : CommandConfig (
146+ help = "Multi Receipts Detector " ,
123147 doc_class = product .MultiReceiptsDetectorV1 ,
124148 is_sync = True ,
125149 is_async = False ,
126150 ),
151+ "nutrition-facts-label" : CommandConfig (
152+ help = "Nutrition Facts Label" ,
153+ doc_class = product .NutritionFactsLabelV1 ,
154+ is_sync = False ,
155+ is_async = True ,
156+ ),
127157 "passport" : CommandConfig (
128158 help = "Passport" ,
129159 doc_class = product .PassportV1 ,
130160 is_sync = True ,
131161 is_async = False ,
132162 ),
133163 "receipt" : CommandConfig (
134- help = "Expense Receipt" ,
164+ help = "Receipt" ,
135165 doc_class = product .ReceiptV5 ,
136166 is_sync = True ,
137- is_async = False ,
167+ is_async = True ,
138168 ),
139169 "resume" : CommandConfig (
140170 help = "Resume" ,
@@ -143,25 +173,25 @@ class CommandConfig(Generic[TypeInference]):
143173 is_async = True ,
144174 ),
145175 "us-bank-check" : CommandConfig (
146- help = "US Bank Check" ,
176+ help = "Bank Check" ,
147177 doc_class = product .us .BankCheckV1 ,
148178 is_sync = True ,
149179 is_async = False ,
150180 ),
151- "us-mail " : CommandConfig (
152- help = "US Mail " ,
153- doc_class = product .us .UsMailV3 ,
181+ "us-healthcare-card " : CommandConfig (
182+ help = "Healthcare Card " ,
183+ doc_class = product .us .HealthcareCardV1 ,
154184 is_sync = False ,
155185 is_async = True ,
156186 ),
157- "us-healthcare-card " : CommandConfig (
158- help = "US Healthcare Card " ,
159- doc_class = product .us .HealthcareCardV1 ,
187+ "us-us-mail " : CommandConfig (
188+ help = "US Mail " ,
189+ doc_class = product .us .UsMailV3 ,
160190 is_sync = False ,
161191 is_async = True ,
162192 ),
163193 "us-w9" : CommandConfig (
164- help = "US W9" ,
194+ help = "W9" ,
165195 doc_class = product .us .W9V1 ,
166196 is_sync = True ,
167197 is_async = False ,
0 commit comments