@nomalism-com/types 0.43.16 → 0.43.18
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
|
@@ -5661,6 +5661,7 @@ var createOrUpdateBodyKeys2 = {
|
|
|
5661
5661
|
};
|
|
5662
5662
|
var createOrUpdateBody2 = joi105.object().keys(createOrUpdateBodyKeys2).messages(messages);
|
|
5663
5663
|
var findByParamsKeys = {
|
|
5664
|
+
owner_id: joi105.string().uuid().required(),
|
|
5664
5665
|
chat_document_header_id: joi105.string().uuid().optional()
|
|
5665
5666
|
};
|
|
5666
5667
|
var findByParams = joi105.object().keys(findByParamsKeys).messages(messages);
|
package/dist/index.js
CHANGED
|
@@ -5661,6 +5661,7 @@ var createOrUpdateBodyKeys2 = {
|
|
|
5661
5661
|
};
|
|
5662
5662
|
var createOrUpdateBody2 = joi105.object().keys(createOrUpdateBodyKeys2).messages(messages);
|
|
5663
5663
|
var findByParamsKeys = {
|
|
5664
|
+
owner_id: joi105.string().uuid().required(),
|
|
5664
5665
|
chat_document_header_id: joi105.string().uuid().optional()
|
|
5665
5666
|
};
|
|
5666
5667
|
var findByParams = joi105.object().keys(findByParamsKeys).messages(messages);
|
|
@@ -8,7 +8,7 @@ export interface IPublicFindByOwnerIdRequest {
|
|
|
8
8
|
include_closed?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export interface IPublicFindByOwnerIdResponse {
|
|
11
|
-
|
|
11
|
+
chat_document_header_id: string;
|
|
12
12
|
label: string;
|
|
13
13
|
emission_date: Date;
|
|
14
14
|
pdf_link: string;
|
|
@@ -9,10 +9,12 @@ export interface ICreateOrUpdateRequest {
|
|
|
9
9
|
personas_ids: string[];
|
|
10
10
|
}
|
|
11
11
|
export interface IFindRequest {
|
|
12
|
+
owner_id: string;
|
|
12
13
|
chat_document_header_id: string;
|
|
13
14
|
}
|
|
14
15
|
export type IFindByOwnerResponse = Pick<Persona, 'external' | 'name' | 'email' | 'telephone'> & Pick<ChatSubscriber, 'id' | 'persona_id' | 'chat_document_header_id'>;
|
|
15
16
|
export interface IFindByIdResponse extends IFindByOwnerResponse {
|
|
17
|
+
owner_id: string;
|
|
16
18
|
subscriptions: {
|
|
17
19
|
id: string;
|
|
18
20
|
chat_document_header_id: string;
|
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.18",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|