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
4 changes: 3 additions & 1 deletion docs/code_samples/bank_account_details_v1.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// If you're on CommonJS:
const mindee = require("mindee");
// for TS or modules:

// ESM or TypeScript (Recommended)
// import * as mindee from "mindee";

// Init a new client
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/bank_account_details_v2.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/bank_check_v1.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/barcode_reader_v1.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/carte_grise_v1.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/cropper_v1.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/default.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/default_async.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/driver_license_v1_async.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
4 changes: 3 additions & 1 deletion docs/code_samples/expense_receipts_v5.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// If you're on CommonJS:
const mindee = require("mindee");
// for TS or modules:

// ESM or TypeScript (Recommended)
// import * as mindee from "mindee";

// Init a new client
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/expense_receipts_v5_async.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
4 changes: 3 additions & 1 deletion docs/code_samples/financial_document_v1.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// If you're on CommonJS:
const mindee = require("mindee");
// for TS or modules:

// ESM or TypeScript (Recommended)
// import * as mindee from "mindee";

// Init a new client
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/financial_document_v1_async.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/idcard_fr_v2.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/international_id_v2_async.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/invoice_splitter_v1_async.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
4 changes: 3 additions & 1 deletion docs/code_samples/invoices_v4.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// If you're on CommonJS:
const mindee = require("mindee");
// for TS or modules:

// ESM or TypeScript (Recommended)
// import * as mindee from "mindee";

// Init a new client
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/invoices_v4_async.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/multi_receipts_detector_v1.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/passport_v1.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/resume_v1_async.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

// Init a new client
const mindeeClient = new mindee.v1.Client(
Expand Down
2 changes: 2 additions & 0 deletions docs/code_samples/v2_classification.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

Expand Down
2 changes: 2 additions & 0 deletions docs/code_samples/v2_crop.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

Expand Down
2 changes: 2 additions & 0 deletions docs/code_samples/v2_extraction.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

Expand Down
2 changes: 2 additions & 0 deletions docs/code_samples/v2_ocr.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

Expand Down
2 changes: 2 additions & 0 deletions docs/code_samples/v2_split.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/workflow_execution.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

const workflowId: string = "workflow-id";

Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/workflow_ots_rag.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

const workflowId: string = "workflow-id";

Expand Down
8 changes: 5 additions & 3 deletions docs/code_samples/workflow_polling.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";
// ESM or TypeScript (Recommended)
import * as mindee from "mindee";

// If you're on CommonJS:
// const mindee = require("mindee");

const workflowId: string = "workflow-id";

Expand Down
Loading
Loading