@nomalism-com/types 0.43.19 → 0.43.21
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
|
@@ -4903,8 +4903,6 @@ __export(route_schema_exports86, {
|
|
|
4903
4903
|
import joi87 from "joi";
|
|
4904
4904
|
var createBodyKeys55 = {
|
|
4905
4905
|
name: joi87.string().required(),
|
|
4906
|
-
to: joi87.string().required(),
|
|
4907
|
-
subject: joi87.string().required(),
|
|
4908
4906
|
body: joi87.string().required(),
|
|
4909
4907
|
attachments: joi87.array().items(
|
|
4910
4908
|
joi87.object().keys({
|
|
@@ -4917,8 +4915,6 @@ var createBodyKeys55 = {
|
|
|
4917
4915
|
var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
|
|
4918
4916
|
var updateBodyKeys51 = {
|
|
4919
4917
|
name: joi87.string().optional(),
|
|
4920
|
-
to: joi87.string().optional(),
|
|
4921
|
-
subject: joi87.string().optional(),
|
|
4922
4918
|
body: joi87.string().optional()
|
|
4923
4919
|
};
|
|
4924
4920
|
var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
|
package/dist/index.js
CHANGED
|
@@ -4903,8 +4903,6 @@ __export(route_schema_exports86, {
|
|
|
4903
4903
|
import joi87 from "joi";
|
|
4904
4904
|
var createBodyKeys55 = {
|
|
4905
4905
|
name: joi87.string().required(),
|
|
4906
|
-
to: joi87.string().required(),
|
|
4907
|
-
subject: joi87.string().required(),
|
|
4908
4906
|
body: joi87.string().required(),
|
|
4909
4907
|
attachments: joi87.array().items(
|
|
4910
4908
|
joi87.object().keys({
|
|
@@ -4917,8 +4915,6 @@ var createBodyKeys55 = {
|
|
|
4917
4915
|
var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
|
|
4918
4916
|
var updateBodyKeys51 = {
|
|
4919
4917
|
name: joi87.string().optional(),
|
|
4920
|
-
to: joi87.string().optional(),
|
|
4921
|
-
subject: joi87.string().optional(),
|
|
4922
4918
|
body: joi87.string().optional()
|
|
4923
4919
|
};
|
|
4924
4920
|
var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
|
|
@@ -14,16 +14,12 @@ export interface ICreateAttachments {
|
|
|
14
14
|
}
|
|
15
15
|
export interface ICreateRequest {
|
|
16
16
|
name: string;
|
|
17
|
-
to: string;
|
|
18
|
-
subject: string;
|
|
19
17
|
body: string;
|
|
20
18
|
attachments: ICreateAttachments[];
|
|
21
19
|
key: string;
|
|
22
20
|
}
|
|
23
21
|
export interface IUpdateRequest {
|
|
24
22
|
name?: string;
|
|
25
|
-
to?: string;
|
|
26
|
-
subject?: string;
|
|
27
23
|
body?: string;
|
|
28
24
|
}
|
|
29
25
|
export interface ISendRequest {
|
|
@@ -14,7 +14,6 @@ export interface IFindRequest {
|
|
|
14
14
|
}
|
|
15
15
|
export type IFindByOwnerResponse = Pick<Persona, 'external' | 'name' | 'email' | 'telephone'> & Pick<ChatSubscriber, 'id' | 'persona_id' | 'chat_document_header_id'>;
|
|
16
16
|
export interface IFindByIdResponse extends IFindByOwnerResponse {
|
|
17
|
-
owner_id: string;
|
|
18
17
|
subscriptions: {
|
|
19
18
|
id: string;
|
|
20
19
|
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.21",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|