mindee 4.10.0 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/package.json +1 -1
  3. package/src/product/barcodeReader/barcodeReaderV1.d.ts +1 -1
  4. package/src/product/barcodeReader/barcodeReaderV1.js +1 -1
  5. package/src/product/barcodeReader/barcodeReaderV1Document.d.ts +1 -1
  6. package/src/product/barcodeReader/barcodeReaderV1Document.js +1 -1
  7. package/src/product/cropper/cropperV1.d.ts +1 -1
  8. package/src/product/cropper/cropperV1.js +1 -1
  9. package/src/product/cropper/cropperV1Document.d.ts +1 -1
  10. package/src/product/cropper/cropperV1Document.js +1 -1
  11. package/src/product/cropper/cropperV1Page.d.ts +1 -1
  12. package/src/product/cropper/cropperV1Page.js +1 -1
  13. package/src/product/eu/driverLicense/driverLicenseV1.d.ts +1 -1
  14. package/src/product/eu/driverLicense/driverLicenseV1.js +1 -1
  15. package/src/product/eu/driverLicense/driverLicenseV1Document.d.ts +1 -1
  16. package/src/product/eu/driverLicense/driverLicenseV1Document.js +1 -1
  17. package/src/product/eu/driverLicense/driverLicenseV1Page.d.ts +1 -1
  18. package/src/product/eu/driverLicense/driverLicenseV1Page.js +1 -1
  19. package/src/product/eu/licensePlate/licensePlateV1.d.ts +1 -1
  20. package/src/product/eu/licensePlate/licensePlateV1.js +1 -1
  21. package/src/product/eu/licensePlate/licensePlateV1Document.d.ts +1 -1
  22. package/src/product/eu/licensePlate/licensePlateV1Document.js +1 -1
  23. package/src/product/financialDocument/financialDocumentV1.d.ts +1 -1
  24. package/src/product/financialDocument/financialDocumentV1.js +1 -1
  25. package/src/product/financialDocument/financialDocumentV1Document.d.ts +11 -1
  26. package/src/product/financialDocument/financialDocumentV1Document.js +26 -1
  27. package/src/product/fr/bankAccountDetails/bankAccountDetailsV1.d.ts +1 -1
  28. package/src/product/fr/bankAccountDetails/bankAccountDetailsV1.js +1 -1
  29. package/src/product/fr/bankAccountDetails/bankAccountDetailsV1Document.d.ts +1 -1
  30. package/src/product/fr/bankAccountDetails/bankAccountDetailsV1Document.js +1 -1
  31. package/src/product/fr/bankAccountDetails/bankAccountDetailsV2.d.ts +1 -1
  32. package/src/product/fr/bankAccountDetails/bankAccountDetailsV2.js +1 -1
  33. package/src/product/fr/bankAccountDetails/bankAccountDetailsV2Document.d.ts +1 -1
  34. package/src/product/fr/bankAccountDetails/bankAccountDetailsV2Document.js +1 -1
  35. package/src/product/fr/carteGrise/carteGriseV1.d.ts +1 -1
  36. package/src/product/fr/carteGrise/carteGriseV1.js +1 -1
  37. package/src/product/fr/carteGrise/carteGriseV1Document.d.ts +1 -1
  38. package/src/product/fr/carteGrise/carteGriseV1Document.js +1 -1
  39. package/src/product/fr/carteVitale/carteVitaleV1.d.ts +1 -1
  40. package/src/product/fr/carteVitale/carteVitaleV1.js +1 -1
  41. package/src/product/fr/carteVitale/carteVitaleV1Document.d.ts +1 -1
  42. package/src/product/fr/carteVitale/carteVitaleV1Document.js +1 -1
  43. package/src/product/fr/idCard/idCardV1.d.ts +1 -1
  44. package/src/product/fr/idCard/idCardV1.js +1 -1
  45. package/src/product/fr/idCard/idCardV1Document.d.ts +1 -1
  46. package/src/product/fr/idCard/idCardV1Document.js +1 -1
  47. package/src/product/fr/idCard/idCardV1Page.d.ts +1 -1
  48. package/src/product/fr/idCard/idCardV1Page.js +1 -1
  49. package/src/product/fr/idCard/idCardV2.d.ts +1 -1
  50. package/src/product/fr/idCard/idCardV2.js +1 -1
  51. package/src/product/fr/idCard/idCardV2Document.d.ts +1 -1
  52. package/src/product/fr/idCard/idCardV2Document.js +1 -1
  53. package/src/product/fr/idCard/idCardV2Page.d.ts +1 -1
  54. package/src/product/fr/idCard/idCardV2Page.js +1 -1
  55. package/src/product/internationalId/internationalIdV2.d.ts +1 -1
  56. package/src/product/internationalId/internationalIdV2.js +1 -1
  57. package/src/product/internationalId/internationalIdV2Document.d.ts +1 -1
  58. package/src/product/internationalId/internationalIdV2Document.js +1 -1
  59. package/src/product/invoice/invoiceV4.d.ts +1 -1
  60. package/src/product/invoice/invoiceV4.js +1 -1
  61. package/src/product/invoice/invoiceV4Document.d.ts +9 -1
  62. package/src/product/invoice/invoiceV4Document.js +21 -1
  63. package/src/product/multiReceiptsDetector/multiReceiptsDetectorV1.d.ts +1 -1
  64. package/src/product/multiReceiptsDetector/multiReceiptsDetectorV1.js +1 -1
  65. package/src/product/multiReceiptsDetector/multiReceiptsDetectorV1Document.d.ts +1 -1
  66. package/src/product/multiReceiptsDetector/multiReceiptsDetectorV1Document.js +1 -1
  67. package/src/product/passport/passportV1.d.ts +1 -1
  68. package/src/product/passport/passportV1.js +1 -1
  69. package/src/product/passport/passportV1Document.d.ts +1 -1
  70. package/src/product/passport/passportV1Document.js +1 -1
  71. package/src/product/proofOfAddress/proofOfAddressV1.d.ts +1 -1
  72. package/src/product/proofOfAddress/proofOfAddressV1.js +1 -1
  73. package/src/product/proofOfAddress/proofOfAddressV1Document.d.ts +1 -1
  74. package/src/product/proofOfAddress/proofOfAddressV1Document.js +1 -1
  75. package/src/product/receipt/receiptV5.d.ts +1 -1
  76. package/src/product/receipt/receiptV5.js +1 -1
  77. package/src/product/receipt/receiptV5Document.d.ts +1 -1
  78. package/src/product/receipt/receiptV5Document.js +1 -1
  79. package/src/product/resume/resumeV1.d.ts +1 -1
  80. package/src/product/resume/resumeV1.js +1 -1
  81. package/src/product/resume/resumeV1Document.d.ts +1 -1
  82. package/src/product/resume/resumeV1Document.js +1 -1
  83. package/src/product/us/bankCheck/bankCheckV1.d.ts +1 -1
  84. package/src/product/us/bankCheck/bankCheckV1.js +1 -1
  85. package/src/product/us/bankCheck/bankCheckV1Document.d.ts +1 -1
  86. package/src/product/us/bankCheck/bankCheckV1Document.js +1 -1
  87. package/src/product/us/bankCheck/bankCheckV1Page.d.ts +1 -1
  88. package/src/product/us/bankCheck/bankCheckV1Page.js +1 -1
  89. package/src/product/us/driverLicense/driverLicenseV1.d.ts +1 -1
  90. package/src/product/us/driverLicense/driverLicenseV1.js +1 -1
  91. package/src/product/us/driverLicense/driverLicenseV1Document.d.ts +1 -1
  92. package/src/product/us/driverLicense/driverLicenseV1Document.js +1 -1
  93. package/src/product/us/driverLicense/driverLicenseV1Page.d.ts +1 -1
  94. package/src/product/us/driverLicense/driverLicenseV1Page.js +1 -1
  95. package/src/product/us/w9/w9V1.d.ts +1 -1
  96. package/src/product/us/w9/w9V1.js +1 -1
  97. package/src/product/us/w9/w9V1Document.d.ts +1 -1
  98. package/src/product/us/w9/w9V1Document.js +1 -1
  99. package/src/product/us/w9/w9V1Page.d.ts +1 -1
  100. package/src/product/us/w9/w9V1Page.js +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ # v4.11.0 - 2024-04-30
4
+ ### Changes
5
+ * :sparkles: update invoice to 4.6 & financial document to 1.6 (#269)
6
+
7
+
3
8
  # v4.10.0 - 2024-04-12
4
9
  ### Changes
5
10
  * :sparkles: update Invoice to v4.5 (#264)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindee",
3
- "version": "4.10.0",
3
+ "version": "4.11.0",
4
4
  "description": "Mindee Client Library for Node.js",
5
5
  "main": "src/index.js",
6
6
  "bin": "bin/mindee.js",
@@ -1,7 +1,7 @@
1
1
  import { Inference, StringDict, Page } from "../../parsing/common";
2
2
  import { BarcodeReaderV1Document } from "./barcodeReaderV1Document";
3
3
  /**
4
- * Inference prediction for Barcode Reader, API version 1.
4
+ * Barcode Reader API version 1 inference prediction.
5
5
  */
6
6
  export declare class BarcodeReaderV1 extends Inference {
7
7
  /** The endpoint's name. */
@@ -4,7 +4,7 @@ exports.BarcodeReaderV1 = void 0;
4
4
  const common_1 = require("../../parsing/common");
5
5
  const barcodeReaderV1Document_1 = require("./barcodeReaderV1Document");
6
6
  /**
7
- * Inference prediction for Barcode Reader, API version 1.
7
+ * Barcode Reader API version 1 inference prediction.
8
8
  */
9
9
  class BarcodeReaderV1 extends common_1.Inference {
10
10
  constructor(rawPrediction) {
@@ -1,7 +1,7 @@
1
1
  import { Prediction, StringDict } from "../../parsing/common";
2
2
  import { StringField } from "../../parsing/standard";
3
3
  /**
4
- * Document data for Barcode Reader, API version 1.
4
+ * Barcode Reader API version 1.0 document data.
5
5
  */
6
6
  export declare class BarcodeReaderV1Document implements Prediction {
7
7
  /** List of decoded 1D barcodes. */
@@ -4,7 +4,7 @@ exports.BarcodeReaderV1Document = void 0;
4
4
  const common_1 = require("../../parsing/common");
5
5
  const standard_1 = require("../../parsing/standard");
6
6
  /**
7
- * Document data for Barcode Reader, API version 1.
7
+ * Barcode Reader API version 1.0 document data.
8
8
  */
9
9
  class BarcodeReaderV1Document {
10
10
  constructor(rawPrediction, pageId) {
@@ -2,7 +2,7 @@ import { Inference, StringDict, Page } from "../../parsing/common";
2
2
  import { CropperV1Document } from "./cropperV1Document";
3
3
  import { CropperV1Page } from "./cropperV1Page";
4
4
  /**
5
- * Inference prediction for Cropper, API version 1.
5
+ * Cropper API version 1 inference prediction.
6
6
  */
7
7
  export declare class CropperV1 extends Inference {
8
8
  /** The endpoint's name. */
@@ -5,7 +5,7 @@ const common_1 = require("../../parsing/common");
5
5
  const cropperV1Document_1 = require("./cropperV1Document");
6
6
  const cropperV1Page_1 = require("./cropperV1Page");
7
7
  /**
8
- * Inference prediction for Cropper, API version 1.
8
+ * Cropper API version 1 inference prediction.
9
9
  */
10
10
  class CropperV1 extends common_1.Inference {
11
11
  constructor(rawPrediction) {
@@ -1,6 +1,6 @@
1
1
  import { Prediction } from "../../parsing/common";
2
2
  /**
3
- * Document data for Cropper, API version 1.
3
+ * Cropper API version 1.1 document data.
4
4
  */
5
5
  export declare class CropperV1Document implements Prediction {
6
6
  /**
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CropperV1Document = void 0;
4
4
  /**
5
- * Document data for Cropper, API version 1.
5
+ * Cropper API version 1.1 document data.
6
6
  */
7
7
  class CropperV1Document {
8
8
  /**
@@ -2,7 +2,7 @@ import { StringDict } from "../../parsing/common";
2
2
  import { PositionField } from "../../parsing/standard";
3
3
  import { CropperV1Document } from "./cropperV1Document";
4
4
  /**
5
- * Page data for Cropper, API version 1.
5
+ * Cropper API version 1.1 page data.
6
6
  */
7
7
  export declare class CropperV1Page extends CropperV1Document {
8
8
  /** List of documents found in the image. */
@@ -5,7 +5,7 @@ const common_1 = require("../../parsing/common");
5
5
  const standard_1 = require("../../parsing/standard");
6
6
  const cropperV1Document_1 = require("./cropperV1Document");
7
7
  /**
8
- * Page data for Cropper, API version 1.
8
+ * Cropper API version 1.1 page data.
9
9
  */
10
10
  class CropperV1Page extends cropperV1Document_1.CropperV1Document {
11
11
  constructor(rawPrediction, pageId) {
@@ -2,7 +2,7 @@ import { Inference, StringDict, Page } from "../../../parsing/common";
2
2
  import { DriverLicenseV1Document } from "./driverLicenseV1Document";
3
3
  import { DriverLicenseV1Page } from "./driverLicenseV1Page";
4
4
  /**
5
- * Inference prediction for Driver License, API version 1.
5
+ * Driver License API version 1 inference prediction.
6
6
  */
7
7
  export declare class DriverLicenseV1 extends Inference {
8
8
  /** The endpoint's name. */
@@ -5,7 +5,7 @@ const common_1 = require("../../../parsing/common");
5
5
  const driverLicenseV1Document_1 = require("./driverLicenseV1Document");
6
6
  const driverLicenseV1Page_1 = require("./driverLicenseV1Page");
7
7
  /**
8
- * Inference prediction for Driver License, API version 1.
8
+ * Driver License API version 1 inference prediction.
9
9
  */
10
10
  class DriverLicenseV1 extends common_1.Inference {
11
11
  constructor(rawPrediction) {
@@ -1,7 +1,7 @@
1
1
  import { Prediction, StringDict } from "../../../parsing/common";
2
2
  import { DateField, StringField } from "../../../parsing/standard";
3
3
  /**
4
- * Document data for Driver License, API version 1.
4
+ * Driver License API version 1.0 document data.
5
5
  */
6
6
  export declare class DriverLicenseV1Document implements Prediction {
7
7
  /** EU driver license holders address */
@@ -4,7 +4,7 @@ exports.DriverLicenseV1Document = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const standard_1 = require("../../../parsing/standard");
6
6
  /**
7
- * Document data for Driver License, API version 1.
7
+ * Driver License API version 1.0 document data.
8
8
  */
9
9
  class DriverLicenseV1Document {
10
10
  constructor(rawPrediction, pageId) {
@@ -2,7 +2,7 @@ import { StringDict } from "../../../parsing/common";
2
2
  import { PositionField } from "../../../parsing/standard";
3
3
  import { DriverLicenseV1Document } from "./driverLicenseV1Document";
4
4
  /**
5
- * Page data for Driver License, API version 1.
5
+ * Driver License API version 1.0 page data.
6
6
  */
7
7
  export declare class DriverLicenseV1Page extends DriverLicenseV1Document {
8
8
  /** Has a photo of the EU driver license holder */
@@ -5,7 +5,7 @@ const common_1 = require("../../../parsing/common");
5
5
  const standard_1 = require("../../../parsing/standard");
6
6
  const driverLicenseV1Document_1 = require("./driverLicenseV1Document");
7
7
  /**
8
- * Page data for Driver License, API version 1.
8
+ * Driver License API version 1.0 page data.
9
9
  */
10
10
  class DriverLicenseV1Page extends driverLicenseV1Document_1.DriverLicenseV1Document {
11
11
  constructor(rawPrediction, pageId) {
@@ -1,7 +1,7 @@
1
1
  import { Inference, StringDict, Page } from "../../../parsing/common";
2
2
  import { LicensePlateV1Document } from "./licensePlateV1Document";
3
3
  /**
4
- * Inference prediction for License Plate, API version 1.
4
+ * License Plate API version 1 inference prediction.
5
5
  */
6
6
  export declare class LicensePlateV1 extends Inference {
7
7
  /** The endpoint's name. */
@@ -4,7 +4,7 @@ exports.LicensePlateV1 = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const licensePlateV1Document_1 = require("./licensePlateV1Document");
6
6
  /**
7
- * Inference prediction for License Plate, API version 1.
7
+ * License Plate API version 1 inference prediction.
8
8
  */
9
9
  class LicensePlateV1 extends common_1.Inference {
10
10
  constructor(rawPrediction) {
@@ -1,7 +1,7 @@
1
1
  import { Prediction, StringDict } from "../../../parsing/common";
2
2
  import { StringField } from "../../../parsing/standard";
3
3
  /**
4
- * Document data for License Plate, API version 1.
4
+ * License Plate API version 1.1 document data.
5
5
  */
6
6
  export declare class LicensePlateV1Document implements Prediction {
7
7
  /** List of all license plates found in the image. */
@@ -4,7 +4,7 @@ exports.LicensePlateV1Document = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const standard_1 = require("../../../parsing/standard");
6
6
  /**
7
- * Document data for License Plate, API version 1.
7
+ * License Plate API version 1.1 document data.
8
8
  */
9
9
  class LicensePlateV1Document {
10
10
  constructor(rawPrediction, pageId) {
@@ -1,7 +1,7 @@
1
1
  import { Inference, StringDict, Page } from "../../parsing/common";
2
2
  import { FinancialDocumentV1Document } from "./financialDocumentV1Document";
3
3
  /**
4
- * Inference prediction for Financial Document, API version 1.
4
+ * Financial Document API version 1 inference prediction.
5
5
  */
6
6
  export declare class FinancialDocumentV1 extends Inference {
7
7
  /** The endpoint's name. */
@@ -4,7 +4,7 @@ exports.FinancialDocumentV1 = void 0;
4
4
  const common_1 = require("../../parsing/common");
5
5
  const financialDocumentV1Document_1 = require("./financialDocumentV1Document");
6
6
  /**
7
- * Inference prediction for Financial Document, API version 1.
7
+ * Financial Document API version 1 inference prediction.
8
8
  */
9
9
  class FinancialDocumentV1 extends common_1.Inference {
10
10
  constructor(rawPrediction) {
@@ -2,15 +2,19 @@ import { Prediction, StringDict } from "../../parsing/common";
2
2
  import { FinancialDocumentV1LineItem } from "./financialDocumentV1LineItem";
3
3
  import { AmountField, ClassificationField, CompanyRegistrationField, DateField, LocaleField, PaymentDetailsField, StringField, Taxes } from "../../parsing/standard";
4
4
  /**
5
- * Document data for Financial Document, API version 1.
5
+ * Financial Document API version 1.6 document data.
6
6
  */
7
7
  export declare class FinancialDocumentV1Document implements Prediction {
8
+ /** The customer's address used for billing. */
9
+ billingAddress: StringField;
8
10
  /** The purchase category among predefined classes. */
9
11
  category: ClassificationField;
10
12
  /** The address of the customer. */
11
13
  customerAddress: StringField;
12
14
  /** List of company registrations associated to the customer. */
13
15
  customerCompanyRegistrations: CompanyRegistrationField[];
16
+ /** The customer account number or identifier from the supplier. */
17
+ customerId: StringField;
14
18
  /** The name of the customer. */
15
19
  customerName: StringField;
16
20
  /** The date the purchase was made. */
@@ -27,18 +31,24 @@ export declare class FinancialDocumentV1Document implements Prediction {
27
31
  locale: LocaleField;
28
32
  /** List of Reference numbers, including PO number. */
29
33
  referenceNumbers: StringField[];
34
+ /** The customer's address used for shipping. */
35
+ shippingAddress: StringField;
30
36
  /** The purchase subcategory among predefined classes for transport and food. */
31
37
  subcategory: ClassificationField;
32
38
  /** The address of the supplier or merchant. */
33
39
  supplierAddress: StringField;
34
40
  /** List of company registrations associated to the supplier. */
35
41
  supplierCompanyRegistrations: CompanyRegistrationField[];
42
+ /** The email of the supplier or merchant. */
43
+ supplierEmail: StringField;
36
44
  /** The name of the supplier or merchant. */
37
45
  supplierName: StringField;
38
46
  /** List of payment details associated to the supplier. */
39
47
  supplierPaymentDetails: PaymentDetailsField[];
40
48
  /** The phone number of the supplier or merchant. */
41
49
  supplierPhoneNumber: StringField;
50
+ /** The website URL of the supplier or merchant. */
51
+ supplierWebsite: StringField;
42
52
  /** List of tax lines information. */
43
53
  taxes: Taxes;
44
54
  /** The time the purchase was made. */
@@ -5,7 +5,7 @@ const common_1 = require("../../parsing/common");
5
5
  const financialDocumentV1LineItem_1 = require("./financialDocumentV1LineItem");
6
6
  const standard_1 = require("../../parsing/standard");
7
7
  /**
8
- * Document data for Financial Document, API version 1.
8
+ * Financial Document API version 1.6 document data.
9
9
  */
10
10
  class FinancialDocumentV1Document {
11
11
  constructor(rawPrediction, pageId) {
@@ -19,6 +19,10 @@ class FinancialDocumentV1Document {
19
19
  this.supplierCompanyRegistrations = [];
20
20
  /** List of payment details associated to the supplier. */
21
21
  this.supplierPaymentDetails = [];
22
+ this.billingAddress = new standard_1.StringField({
23
+ prediction: rawPrediction["billing_address"],
24
+ pageId: pageId,
25
+ });
22
26
  this.category = new standard_1.ClassificationField({
23
27
  prediction: rawPrediction["category"],
24
28
  });
@@ -31,6 +35,10 @@ class FinancialDocumentV1Document {
31
35
  prediction: itemPrediction,
32
36
  pageId: pageId,
33
37
  })));
38
+ this.customerId = new standard_1.StringField({
39
+ prediction: rawPrediction["customer_id"],
40
+ pageId: pageId,
41
+ });
34
42
  this.customerName = new standard_1.StringField({
35
43
  prediction: rawPrediction["customer_name"],
36
44
  pageId: pageId,
@@ -63,6 +71,10 @@ class FinancialDocumentV1Document {
63
71
  prediction: itemPrediction,
64
72
  pageId: pageId,
65
73
  })));
74
+ this.shippingAddress = new standard_1.StringField({
75
+ prediction: rawPrediction["shipping_address"],
76
+ pageId: pageId,
77
+ });
66
78
  this.subcategory = new standard_1.ClassificationField({
67
79
  prediction: rawPrediction["subcategory"],
68
80
  });
@@ -75,6 +87,10 @@ class FinancialDocumentV1Document {
75
87
  prediction: itemPrediction,
76
88
  pageId: pageId,
77
89
  })));
90
+ this.supplierEmail = new standard_1.StringField({
91
+ prediction: rawPrediction["supplier_email"],
92
+ pageId: pageId,
93
+ });
78
94
  this.supplierName = new standard_1.StringField({
79
95
  prediction: rawPrediction["supplier_name"],
80
96
  pageId: pageId,
@@ -88,6 +104,10 @@ class FinancialDocumentV1Document {
88
104
  prediction: rawPrediction["supplier_phone_number"],
89
105
  pageId: pageId,
90
106
  });
107
+ this.supplierWebsite = new standard_1.StringField({
108
+ prediction: rawPrediction["supplier_website"],
109
+ pageId: pageId,
110
+ });
91
111
  this.taxes = new standard_1.Taxes().init(rawPrediction["taxes"], pageId);
92
112
  this.time = new standard_1.StringField({
93
113
  prediction: rawPrediction["time"],
@@ -146,8 +166,13 @@ class FinancialDocumentV1Document {
146
166
  :Supplier Address: ${this.supplierAddress}
147
167
  :Supplier Phone Number: ${this.supplierPhoneNumber}
148
168
  :Customer Name: ${this.customerName}
169
+ :Supplier Website: ${this.supplierWebsite}
170
+ :Supplier Email: ${this.supplierEmail}
149
171
  :Customer Company Registrations: ${customerCompanyRegistrations}
150
172
  :Customer Address: ${this.customerAddress}
173
+ :Customer ID: ${this.customerId}
174
+ :Shipping Address: ${this.shippingAddress}
175
+ :Billing Address: ${this.billingAddress}
151
176
  :Document Type: ${this.documentType}
152
177
  :Purchase Subcategory: ${this.subcategory}
153
178
  :Purchase Category: ${this.category}
@@ -1,7 +1,7 @@
1
1
  import { Inference, StringDict, Page } from "../../../parsing/common";
2
2
  import { BankAccountDetailsV1Document } from "./bankAccountDetailsV1Document";
3
3
  /**
4
- * Inference prediction for Bank Account Details, API version 1.
4
+ * Bank Account Details API version 1 inference prediction.
5
5
  */
6
6
  export declare class BankAccountDetailsV1 extends Inference {
7
7
  /** The endpoint's name. */
@@ -4,7 +4,7 @@ exports.BankAccountDetailsV1 = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const bankAccountDetailsV1Document_1 = require("./bankAccountDetailsV1Document");
6
6
  /**
7
- * Inference prediction for Bank Account Details, API version 1.
7
+ * Bank Account Details API version 1 inference prediction.
8
8
  */
9
9
  class BankAccountDetailsV1 extends common_1.Inference {
10
10
  constructor(rawPrediction) {
@@ -1,7 +1,7 @@
1
1
  import { Prediction, StringDict } from "../../../parsing/common";
2
2
  import { StringField } from "../../../parsing/standard";
3
3
  /**
4
- * Document data for Bank Account Details, API version 1.
4
+ * Bank Account Details API version 1.0 document data.
5
5
  */
6
6
  export declare class BankAccountDetailsV1Document implements Prediction {
7
7
  /** The name of the account holder as seen on the document. */
@@ -4,7 +4,7 @@ exports.BankAccountDetailsV1Document = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const standard_1 = require("../../../parsing/standard");
6
6
  /**
7
- * Document data for Bank Account Details, API version 1.
7
+ * Bank Account Details API version 1.0 document data.
8
8
  */
9
9
  class BankAccountDetailsV1Document {
10
10
  constructor(rawPrediction, pageId) {
@@ -1,7 +1,7 @@
1
1
  import { Inference, StringDict, Page } from "../../../parsing/common";
2
2
  import { BankAccountDetailsV2Document } from "./bankAccountDetailsV2Document";
3
3
  /**
4
- * Inference prediction for Bank Account Details, API version 2.
4
+ * Bank Account Details API version 2 inference prediction.
5
5
  */
6
6
  export declare class BankAccountDetailsV2 extends Inference {
7
7
  /** The endpoint's name. */
@@ -4,7 +4,7 @@ exports.BankAccountDetailsV2 = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const bankAccountDetailsV2Document_1 = require("./bankAccountDetailsV2Document");
6
6
  /**
7
- * Inference prediction for Bank Account Details, API version 2.
7
+ * Bank Account Details API version 2 inference prediction.
8
8
  */
9
9
  class BankAccountDetailsV2 extends common_1.Inference {
10
10
  constructor(rawPrediction) {
@@ -2,7 +2,7 @@ import { Prediction, StringDict } from "../../../parsing/common";
2
2
  import { BankAccountDetailsV2Bban } from "./bankAccountDetailsV2Bban";
3
3
  import { StringField } from "../../../parsing/standard";
4
4
  /**
5
- * Document data for Bank Account Details, API version 2.
5
+ * Bank Account Details API version 2.0 document data.
6
6
  */
7
7
  export declare class BankAccountDetailsV2Document implements Prediction {
8
8
  /** Full extraction of the account holders names. */
@@ -5,7 +5,7 @@ const common_1 = require("../../../parsing/common");
5
5
  const bankAccountDetailsV2Bban_1 = require("./bankAccountDetailsV2Bban");
6
6
  const standard_1 = require("../../../parsing/standard");
7
7
  /**
8
- * Document data for Bank Account Details, API version 2.
8
+ * Bank Account Details API version 2.0 document data.
9
9
  */
10
10
  class BankAccountDetailsV2Document {
11
11
  constructor(rawPrediction, pageId) {
@@ -1,7 +1,7 @@
1
1
  import { Inference, StringDict, Page } from "../../../parsing/common";
2
2
  import { CarteGriseV1Document } from "./carteGriseV1Document";
3
3
  /**
4
- * Inference prediction for Carte Grise, API version 1.
4
+ * Carte Grise API version 1 inference prediction.
5
5
  */
6
6
  export declare class CarteGriseV1 extends Inference {
7
7
  /** The endpoint's name. */
@@ -4,7 +4,7 @@ exports.CarteGriseV1 = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const carteGriseV1Document_1 = require("./carteGriseV1Document");
6
6
  /**
7
- * Inference prediction for Carte Grise, API version 1.
7
+ * Carte Grise API version 1 inference prediction.
8
8
  */
9
9
  class CarteGriseV1 extends common_1.Inference {
10
10
  constructor(rawPrediction) {
@@ -1,7 +1,7 @@
1
1
  import { Prediction, StringDict } from "../../../parsing/common";
2
2
  import { DateField, StringField } from "../../../parsing/standard";
3
3
  /**
4
- * Document data for Carte Grise, API version 1.
4
+ * Carte Grise API version 1.1 document data.
5
5
  */
6
6
  export declare class CarteGriseV1Document implements Prediction {
7
7
  /** The vehicle's license plate number. */
@@ -4,7 +4,7 @@ exports.CarteGriseV1Document = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const standard_1 = require("../../../parsing/standard");
6
6
  /**
7
- * Document data for Carte Grise, API version 1.
7
+ * Carte Grise API version 1.1 document data.
8
8
  */
9
9
  class CarteGriseV1Document {
10
10
  constructor(rawPrediction, pageId) {
@@ -1,7 +1,7 @@
1
1
  import { Inference, StringDict, Page } from "../../../parsing/common";
2
2
  import { CarteVitaleV1Document } from "./carteVitaleV1Document";
3
3
  /**
4
- * Inference prediction for Carte Vitale, API version 1.
4
+ * Carte Vitale API version 1 inference prediction.
5
5
  */
6
6
  export declare class CarteVitaleV1 extends Inference {
7
7
  /** The endpoint's name. */
@@ -4,7 +4,7 @@ exports.CarteVitaleV1 = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const carteVitaleV1Document_1 = require("./carteVitaleV1Document");
6
6
  /**
7
- * Inference prediction for Carte Vitale, API version 1.
7
+ * Carte Vitale API version 1 inference prediction.
8
8
  */
9
9
  class CarteVitaleV1 extends common_1.Inference {
10
10
  constructor(rawPrediction) {
@@ -1,7 +1,7 @@
1
1
  import { Prediction, StringDict } from "../../../parsing/common";
2
2
  import { DateField, StringField } from "../../../parsing/standard";
3
3
  /**
4
- * Document data for Carte Vitale, API version 1.
4
+ * Carte Vitale API version 1.1 document data.
5
5
  */
6
6
  export declare class CarteVitaleV1Document implements Prediction {
7
7
  /** The given name(s) of the card holder. */
@@ -4,7 +4,7 @@ exports.CarteVitaleV1Document = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const standard_1 = require("../../../parsing/standard");
6
6
  /**
7
- * Document data for Carte Vitale, API version 1.
7
+ * Carte Vitale API version 1.1 document data.
8
8
  */
9
9
  class CarteVitaleV1Document {
10
10
  constructor(rawPrediction, pageId) {
@@ -2,7 +2,7 @@ import { Inference, StringDict, Page } from "../../../parsing/common";
2
2
  import { IdCardV1Document } from "./idCardV1Document";
3
3
  import { IdCardV1Page } from "./idCardV1Page";
4
4
  /**
5
- * Inference prediction for Carte Nationale d'Identité, API version 1.
5
+ * Carte Nationale d'Identité API version 1 inference prediction.
6
6
  */
7
7
  export declare class IdCardV1 extends Inference {
8
8
  /** The endpoint's name. */
@@ -5,7 +5,7 @@ const common_1 = require("../../../parsing/common");
5
5
  const idCardV1Document_1 = require("./idCardV1Document");
6
6
  const idCardV1Page_1 = require("./idCardV1Page");
7
7
  /**
8
- * Inference prediction for Carte Nationale d'Identité, API version 1.
8
+ * Carte Nationale d'Identité API version 1 inference prediction.
9
9
  */
10
10
  class IdCardV1 extends common_1.Inference {
11
11
  constructor(rawPrediction) {
@@ -1,7 +1,7 @@
1
1
  import { Prediction, StringDict } from "../../../parsing/common";
2
2
  import { DateField, StringField } from "../../../parsing/standard";
3
3
  /**
4
- * Document data for Carte Nationale d'Identité, API version 1.
4
+ * Carte Nationale d'Identité API version 1.1 document data.
5
5
  */
6
6
  export declare class IdCardV1Document implements Prediction {
7
7
  /** The name of the issuing authority. */
@@ -4,7 +4,7 @@ exports.IdCardV1Document = void 0;
4
4
  const common_1 = require("../../../parsing/common");
5
5
  const standard_1 = require("../../../parsing/standard");
6
6
  /**
7
- * Document data for Carte Nationale d'Identité, API version 1.
7
+ * Carte Nationale d'Identité API version 1.1 document data.
8
8
  */
9
9
  class IdCardV1Document {
10
10
  constructor(rawPrediction, pageId) {
@@ -2,7 +2,7 @@ import { StringDict } from "../../../parsing/common";
2
2
  import { ClassificationField } from "../../../parsing/standard";
3
3
  import { IdCardV1Document } from "./idCardV1Document";
4
4
  /**
5
- * Page data for Carte Nationale d'Identité, API version 1.
5
+ * Carte Nationale d'Identité API version 1.1 page data.
6
6
  */
7
7
  export declare class IdCardV1Page extends IdCardV1Document {
8
8
  /** The side of the document which is visible. */
@@ -5,7 +5,7 @@ const common_1 = require("../../../parsing/common");
5
5
  const standard_1 = require("../../../parsing/standard");
6
6
  const idCardV1Document_1 = require("./idCardV1Document");
7
7
  /**
8
- * Page data for Carte Nationale d'Identité, API version 1.
8
+ * Carte Nationale d'Identité API version 1.1 page data.
9
9
  */
10
10
  class IdCardV1Page extends idCardV1Document_1.IdCardV1Document {
11
11
  constructor(rawPrediction, pageId) {
@@ -2,7 +2,7 @@ import { Inference, StringDict, Page } from "../../../parsing/common";
2
2
  import { IdCardV2Document } from "./idCardV2Document";
3
3
  import { IdCardV2Page } from "./idCardV2Page";
4
4
  /**
5
- * Inference prediction for Carte Nationale d'Identité, API version 2.
5
+ * Carte Nationale d'Identité API version 2 inference prediction.
6
6
  */
7
7
  export declare class IdCardV2 extends Inference {
8
8
  /** The endpoint's name. */
@@ -5,7 +5,7 @@ const common_1 = require("../../../parsing/common");
5
5
  const idCardV2Document_1 = require("./idCardV2Document");
6
6
  const idCardV2Page_1 = require("./idCardV2Page");
7
7
  /**
8
- * Inference prediction for Carte Nationale d'Identité, API version 2.
8
+ * Carte Nationale d'Identité API version 2 inference prediction.
9
9
  */
10
10
  class IdCardV2 extends common_1.Inference {
11
11
  constructor(rawPrediction) {
@@ -1,7 +1,7 @@
1
1
  import { Prediction, StringDict } from "../../../parsing/common";
2
2
  import { DateField, StringField } from "../../../parsing/standard";
3
3
  /**
4
- * Document data for Carte Nationale d'Identité, API version 2.
4
+ * Carte Nationale d'Identité API version 2.0 document data.
5
5
  */
6
6
  export declare class IdCardV2Document implements Prediction {
7
7
  /** The alternate name of the card holder. */