@nomalism-com/types 0.43.62 → 0.43.63
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.
|
@@ -6,6 +6,14 @@ export interface IPcTags {
|
|
|
6
6
|
id: string;
|
|
7
7
|
text: string;
|
|
8
8
|
}
|
|
9
|
+
export interface IPublicDocument {
|
|
10
|
+
chat_document_header_id: string;
|
|
11
|
+
document_name: string;
|
|
12
|
+
store_operator_name: string;
|
|
13
|
+
user_type: IDocumentTypeUserType;
|
|
14
|
+
document_total: number;
|
|
15
|
+
other_personas: ChatSubscriber.IPersona[];
|
|
16
|
+
}
|
|
9
17
|
export interface IPublicOtherDocument {
|
|
10
18
|
chat_subscriber_id: string;
|
|
11
19
|
chat_document_header_id: string;
|
|
@@ -17,14 +25,6 @@ export interface IPublicOtherDocument {
|
|
|
17
25
|
pc_created_by: string;
|
|
18
26
|
closed: boolean;
|
|
19
27
|
}
|
|
20
|
-
export interface IPublicDocument {
|
|
21
|
-
chat_document_header_id: string;
|
|
22
|
-
document_name: string;
|
|
23
|
-
store_operator_name: string;
|
|
24
|
-
user_type: IDocumentTypeUserType;
|
|
25
|
-
document_total: number;
|
|
26
|
-
other_personas: ChatSubscriber.IPersona[];
|
|
27
|
-
}
|
|
28
28
|
export interface IPublicFindBySubscriberId {
|
|
29
29
|
owner_id: string;
|
|
30
30
|
document?: IPublicDocument;
|
|
@@ -15,8 +15,10 @@ export interface IFindDocumentHeaderSubscribersRequest {
|
|
|
15
15
|
export interface IFindSubscribedDocumentHeadersRequest {
|
|
16
16
|
owner_id: string;
|
|
17
17
|
}
|
|
18
|
-
export type IPersona = Pick<Persona, 'external' | 'name' | 'email' | 'telephone'>;
|
|
19
|
-
export
|
|
18
|
+
export type IPersona = Pick<Persona, 'id' | 'external' | 'name' | 'email' | 'telephone'>;
|
|
19
|
+
export interface IEntityWithPersona extends Pick<ChatSubscriber, 'id' | 'chat_document_header_id'> {
|
|
20
|
+
persona: IPersona;
|
|
21
|
+
}
|
|
20
22
|
export interface IEntityWithPersonaAndSubscriptions extends IPersona {
|
|
21
23
|
subscriptions: Pick<Entity, 'id' | 'chat_document_header_id'>[];
|
|
22
24
|
}
|
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.43.
|
|
4
|
+
"version": "0.43.63",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|