@getjones/test-infra 4.3.0 → 4.4.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.
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
const env = require('../../../../env');
|
|
2
1
|
const FormData = require('form-data');
|
|
3
2
|
const fs = require('fs');
|
|
4
3
|
const path = require('path');
|
|
@@ -9,7 +8,7 @@ const { validateType } = require('../../../../common/validations/typeValidations
|
|
|
9
8
|
const httpResponseStatusCodes = require('../../../../common/httpResponseStatusCodes.json');
|
|
10
9
|
const { CONTRACT, TEMP_DOCUMENTS } = require('../../../../common/consts/s3FileTypes');
|
|
11
10
|
const { CreateAgreementByAuditorModel } = require('../models/createAgreementByAuditorModel');
|
|
12
|
-
const { COI_FOLDER_PATH, DEFAULT_COI_FILENAME } = require('
|
|
11
|
+
const { COI_FOLDER_PATH, DEFAULT_COI_FILENAME } = require('../consts/consts');
|
|
13
12
|
|
|
14
13
|
const createAgreement = (createAgreementByPMModel, context) => {
|
|
15
14
|
validateType(createAgreementByPMModel, CreateAgreementByPMModel);
|
|
@@ -4,5 +4,7 @@ const UPLOADER_TYPE = {
|
|
|
4
4
|
};
|
|
5
5
|
|
|
6
6
|
const DEFAULT_AGREEMENT_TEMPLATE = 'tpl_C3sgbpYx7LHyRNdtM7';
|
|
7
|
+
const COI_FOLDER_PATH = 'packages/test-infra/src/resources/coi/';
|
|
8
|
+
const DEFAULT_COI_FILENAME = 'coi.pdf';
|
|
7
9
|
|
|
8
|
-
module.exports = { UPLOADER_TYPE, DEFAULT_AGREEMENT_TEMPLATE };
|
|
10
|
+
module.exports = { UPLOADER_TYPE, DEFAULT_AGREEMENT_TEMPLATE, COI_FOLDER_PATH, DEFAULT_COI_FILENAME };
|