-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
41 lines (36 loc) · 1.69 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/** Copyright (C) 2021-2022, Mindee.
*
* This program is licensed under the MIT License.
* See LICENSE for full license details.
*/
const authentication = require("./authentication.js");
const mindeeInvoice = require("./creates/mindee_invoice.js");
const mindeePassport = require("./creates/mindee_passport.js");
const mindeeReceipt = require("./creates/mindee_receipt.js");
const mindeeFrenchId = require("./creates/mindee_idcard_fr.js");
const mindeeCustomAPI = require("./creates/mindee_custom.js");
const mindeeGeneratedAPI = require("./creates/mindee_generated.js");
const mindeeFinancialDocumentAPI = require("./creates/mindee_financial_document.js");
const mindeeFrenchBankAccountDetails = require("./creates/mindee_fr_bank_account_details.js");
const mindeeUSBankCheck = require("./creates/mindee_us_bank_check.js");
const mindeeUSDrivingLicense = require("./creates/mindee_us_driving_license.js");
const fs = require("fs");
const zapierPlatform = require("zapier-platform-core");
const packageVersion = JSON.parse(fs.readFileSync('package.json', 'utf8'))['version'];
module.exports = {
version: packageVersion,
platformVersion: zapierPlatform.version,
authentication: authentication,
creates: {
[mindeeInvoice.key]: mindeeInvoice,
[mindeeReceipt.key]: mindeeReceipt,
[mindeePassport.key]: mindeePassport,
[mindeeFrenchId.key]: mindeeFrenchId,
[mindeeCustomAPI.key]: mindeeCustomAPI,
[mindeeGeneratedAPI.key]: mindeeGeneratedAPI,
[mindeeFinancialDocumentAPI.key]: mindeeFinancialDocumentAPI,
[mindeeFrenchBankAccountDetails.key]: mindeeFrenchBankAccountDetails,
[mindeeUSBankCheck.key]: mindeeUSBankCheck,
[mindeeUSDrivingLicense.key]: mindeeUSDrivingLicense,
}
};