@nomalism-com/types 0.40.108 → 0.40.110

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/dist/index.cjs CHANGED
@@ -1437,7 +1437,10 @@ var DocumentTypeCodeTypeEnum = {
1437
1437
  FP: "FP",
1438
1438
  RDP: "RDP",
1439
1439
  NRCL: "NRCL",
1440
- FPM: "FPM"
1440
+ FPM: "FPM",
1441
+ FTO: "FTO",
1442
+ FRO: "FRO",
1443
+ REO: "REO"
1441
1444
  };
1442
1445
  var documentTypeCodeTypes = Object.keys(DocumentTypeCodeTypeEnum);
1443
1446
 
package/dist/index.js CHANGED
@@ -1437,7 +1437,10 @@ var DocumentTypeCodeTypeEnum = {
1437
1437
  FP: "FP",
1438
1438
  RDP: "RDP",
1439
1439
  NRCL: "NRCL",
1440
- FPM: "FPM"
1440
+ FPM: "FPM",
1441
+ FTO: "FTO",
1442
+ FRO: "FRO",
1443
+ REO: "REO"
1441
1444
  };
1442
1445
  var documentTypeCodeTypes = Object.keys(DocumentTypeCodeTypeEnum);
1443
1446
 
@@ -55,6 +55,9 @@ export declare const DocumentTypeCodeTypeEnum: {
55
55
  RDP: 'RDP';
56
56
  NRCL: 'NRCL';
57
57
  FPM: 'FPM';
58
+ FTO: 'FTO';
59
+ FRO: 'FRO';
60
+ REO: 'REO';
58
61
  };
59
62
  export type IDocumentTypeCodeType = (typeof DocumentTypeCodeTypeEnum)[keyof typeof DocumentTypeCodeTypeEnum];
60
63
  export declare const documentTypeCodeTypes: string[];
@@ -16,7 +16,10 @@ export interface IFindRequest {
16
16
  }
17
17
  export type IFindByOwnerResponse = Pick<Persona, 'external' | 'name' | 'email' | 'telephone'> & Pick<ChatSubscriber, 'id' | 'persona_id' | 'owner_id' | 'document_header_id'>;
18
18
  export interface IFindByIdResponse extends IFindByOwnerResponse {
19
- subscribed_document_headers: string[];
19
+ subscriptions: {
20
+ id: string;
21
+ document_header_id: string;
22
+ }[];
20
23
  }
21
24
  export interface IFindChatSubscriberPersona extends Pick<Persona, 'external' | 'name' | 'email' | 'telephone'> {
22
25
  contact: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.40.108",
4
+ "version": "0.40.110",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",