Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions docs/code_samples/bank_account_details_v1.txt

This file was deleted.

24 changes: 0 additions & 24 deletions docs/code_samples/bank_check_v1.txt

This file was deleted.

24 changes: 0 additions & 24 deletions docs/code_samples/barcode_reader_v1.txt

This file was deleted.

24 changes: 0 additions & 24 deletions docs/code_samples/idcard_fr_v1.txt

This file was deleted.

23 changes: 0 additions & 23 deletions docs/code_samples/payroll_check_register_v1_async.txt

This file was deleted.

21 changes: 0 additions & 21 deletions src/Mindee.Cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
Mindee.V1.Product.Fr.BankAccountDetails.BankAccountDetailsV2Document,
Mindee.V1.Product.Fr.BankAccountDetails.BankAccountDetailsV2Document
>;
using PredictBankCheckCommand = Mindee.Cli.Commands.V1.PredictCommand<
Mindee.V1.Product.Us.BankCheck.BankCheckV1,
Mindee.V1.Product.Us.BankCheck.BankCheckV1Page,
Mindee.V1.Product.Us.BankCheck.BankCheckV1Document
>;
using PredictBarcodeReaderCommand = Mindee.Cli.Commands.V1.PredictCommand<
Mindee.V1.Product.BarcodeReader.BarcodeReaderV1,
Mindee.V1.Product.BarcodeReader.BarcodeReaderV1Document,
Mindee.V1.Product.BarcodeReader.BarcodeReaderV1Document
>;
using PredictCarteGriseCommand = Mindee.Cli.Commands.V1.PredictCommand<
Mindee.V1.Product.Fr.CarteGrise.CarteGriseV1,
Mindee.V1.Product.Fr.CarteGrise.CarteGriseV1Document,
Expand Down Expand Up @@ -153,11 +143,6 @@ static void BuildV1Commands(Command v1Command, IServiceProvider services, string
Func<V1Client> mindeeV1ClientFactory = !string.IsNullOrWhiteSpace(apiKey)
? () => new V1Client(apiKey)
: services.GetRequiredService<V1Client>;
Comment thread
ianardee marked this conversation as resolved.
var barcodeReaderCmd = new PredictBarcodeReaderCommand(new CommandOptions(
"barcode-reader", "Barcode Reader",
false, false, true, false));
barcodeReaderCmd.ConfigureAction(mindeeV1ClientFactory);
v1Command.Subcommands.Add(barcodeReaderCmd);

var cropperCmd = new PredictCropperCommand(new CommandOptions(
"cropper", "Cropper",
Expand Down Expand Up @@ -236,12 +221,6 @@ static void BuildV1Commands(Command v1Command, IServiceProvider services, string
true, false, true, true));
receiptCmd.ConfigureAction(mindeeV1ClientFactory);
v1Command.Subcommands.Add(receiptCmd);
Comment thread
ianardee marked this conversation as resolved.

var bankCheckCmd = new PredictBankCheckCommand(new CommandOptions(
"us-bank-check", "US Bank Check",
false, false, true, false));
bankCheckCmd.ConfigureAction(mindeeV1ClientFactory);
v1Command.Subcommands.Add(bankCheckCmd);
}

static void BuildV2Commands(Command v2Command, IServiceProvider services)
Expand Down
18 changes: 1 addition & 17 deletions src/Mindee.Cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,7 @@ mindee --api-key <V2_API_KEY> extraction --model-id <MODEL_ID> ./invoice.pdf --o

## V1 (Legacy)

V1 commands are under the `v1` namespace:

- `barcode-reader`
- `cropper`
- `financial-document`
- `fr-bank-account-details`
- `fr-carte-grise`
- `fr-health-card`
- `fr-carte-nationale-d-identite`
- `fr-payslip`
- `international-id`
- `invoice`
- `invoice-splitter`
- `multi-receipts-detector`
- `passport`
- `receipt`
- `us-bank-check`
V1 commands are under the `v1` namespace.

### General syntax

Expand Down
20 changes: 0 additions & 20 deletions src/Mindee/V1/Product/BarcodeReader/BarcodeReaderV1.cs

This file was deleted.

45 changes: 0 additions & 45 deletions src/Mindee/V1/Product/BarcodeReader/BarcodeReaderV1Document.cs

This file was deleted.

20 changes: 0 additions & 20 deletions src/Mindee/V1/Product/Us/BankCheck/BankCheckV1.cs

This file was deleted.

70 changes: 0 additions & 70 deletions src/Mindee/V1/Product/Us/BankCheck/BankCheckV1Document.cs

This file was deleted.

42 changes: 0 additions & 42 deletions src/Mindee/V1/Product/Us/BankCheck/BankCheckV1Page.cs

This file was deleted.

Loading
Loading