kui-crm 0.0.312 → 0.0.314
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/cjs/index.js +16 -0
- package/cjs/index.js.map +1 -1
- package/index.d.ts +108 -94
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +1 -0
- package/utils/cjs/index.js +16 -0
- package/utils/cjs/index.js.map +1 -1
- package/utils/index.d.ts +83 -6
- package/utils/index.js +11 -1
- package/utils/index.js.map +1 -1
package/cjs/index.js
CHANGED
|
@@ -706,6 +706,16 @@ var getBodyForImageRequest = function (file, res) {
|
|
|
706
706
|
}
|
|
707
707
|
: null;
|
|
708
708
|
};
|
|
709
|
+
var getPatchFileParams = function (file) {
|
|
710
|
+
if (file && "name" in file && "file" in file && file.file) {
|
|
711
|
+
return {
|
|
712
|
+
name: file.name,
|
|
713
|
+
visibility: matchesAPIVisibilityVariants[file
|
|
714
|
+
.visibility],
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
return null;
|
|
718
|
+
};
|
|
709
719
|
var getBodyForCleanFileRequest = function (file, res) {
|
|
710
720
|
return res ? { temp_file_id: res.id, name: file.name } : null;
|
|
711
721
|
};
|
|
@@ -4964,6 +4974,11 @@ exports.fieldWithConditionSchema = fieldWithConditionSchema;
|
|
|
4964
4974
|
exports.genderMatches = genderMatches;
|
|
4965
4975
|
exports.getApartmentDetailInfoFields = getApartmentDetailInfoFields;
|
|
4966
4976
|
exports.getApartmentPaymentFields = getApartmentPaymentFields;
|
|
4977
|
+
exports.getBodyForFileRequest = getBodyForFileRequest;
|
|
4978
|
+
exports.getBodyForImageRequest = getBodyForImageRequest;
|
|
4979
|
+
exports.getBodyForPostDocument = getBodyForPostDocument;
|
|
4980
|
+
exports.getBodyForPostFile = getBodyForPostFile;
|
|
4981
|
+
exports.getBodyForPostImage = getBodyForPostImage;
|
|
4967
4982
|
exports.getFillingInfoFields = getFillingInfoFields;
|
|
4968
4983
|
exports.getFillingInfoFieldsSchema = getFillingInfoFieldsSchema;
|
|
4969
4984
|
exports.getInspectionFeedbackStatus = getInspectionFeedbackStatus;
|
|
@@ -4972,6 +4987,7 @@ exports.getMeterFields = getMeterFields;
|
|
|
4972
4987
|
exports.getMeterValuesFieldsSchema = getMeterValuesFieldsSchema;
|
|
4973
4988
|
exports.getNumbersValues = getNumbersValues;
|
|
4974
4989
|
exports.getPartialMeterInfoFields = getPartialMeterInfoFields;
|
|
4990
|
+
exports.getPatchFileParams = getPatchFileParams;
|
|
4975
4991
|
exports.matchesAPICompanyTypes = matchesAPICompanyTypes;
|
|
4976
4992
|
exports.matchesAPIFillingTypes = matchesAPIFillingTypes;
|
|
4977
4993
|
exports.matchesAPISubjectRoles = matchesAPISubjectRoles;
|