@7365admin1/core 2.74.0 → 2.75.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 2.75.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ba3e599: release latest changes for person API, preloved API, etc.
8
+
3
9
  ## 2.74.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -2612,6 +2612,7 @@ declare enum PersonStatus {
2612
2612
  type TFiles = {
2613
2613
  id: string | ObjectId;
2614
2614
  name: string;
2615
+ mimeType?: string;
2615
2616
  };
2616
2617
  type TApprover = {
2617
2618
  id: string | ObjectId;
package/dist/index.js CHANGED
@@ -14727,7 +14727,8 @@ var schemaPlate = import_joi36.default.object({
14727
14727
  });
14728
14728
  var schemaFiles = import_joi36.default.object({
14729
14729
  id: import_joi36.default.string().hex().required(),
14730
- name: import_joi36.default.string().optional().allow(null, "")
14730
+ name: import_joi36.default.string().optional().allow(null, ""),
14731
+ mimeType: import_joi36.default.string().optional().allow(null, "")
14731
14732
  });
14732
14733
  var schemaApprover = import_joi36.default.object({
14733
14734
  id: import_joi36.default.string().hex().required(),
@@ -14776,6 +14777,9 @@ var schemaUpdatePerson = import_joi36.default.object({
14776
14777
  email: import_joi36.default.string().email().optional().allow(null, ""),
14777
14778
  nric: import_joi36.default.string().optional().allow(null, ""),
14778
14779
  remarks: import_joi36.default.string().optional().allow(null, ""),
14780
+ type: import_joi36.default.string().valid(...PERSON_TYPES).optional().allow(null, ""),
14781
+ org: import_joi36.default.string().hex().optional().allow(null, ""),
14782
+ site: import_joi36.default.string().hex().optional().allow(null, ""),
14779
14783
  companyName: import_joi36.default.array().items(import_joi36.default.string()).optional().allow(null, ""),
14780
14784
  plates: import_joi36.default.array().items(schemaFiles).optional().allow(null, ""),
14781
14785
  isOwner: import_joi36.default.boolean().optional().allow(null, ""),