@nomalism-com/types 0.43.80 → 0.43.82
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
|
@@ -1655,7 +1655,7 @@ var transferClientOwnershipBodyKeys = {
|
|
|
1655
1655
|
var transferClientOwnershipBody = joi10.object().keys(transferClientOwnershipBodyKeys).messages(messages);
|
|
1656
1656
|
var updateManyWithPersonaBodyKeys = {
|
|
1657
1657
|
id: joi10.string().uuid().required(),
|
|
1658
|
-
owner_id: joi10.string().uuid().
|
|
1658
|
+
owner_id: joi10.string().uuid().optional(),
|
|
1659
1659
|
owner_name: joi10.string().allow(null).optional(),
|
|
1660
1660
|
name: joi10.string().allow(null).optional(),
|
|
1661
1661
|
telephone: joi10.string().allow(null).optional(),
|
|
@@ -4902,6 +4902,7 @@ var LowerName80 = UpperName80[0].toLowerCase() + UpperName80.substring(1);
|
|
|
4902
4902
|
var route_schema_exports85 = {};
|
|
4903
4903
|
__export(route_schema_exports85, {
|
|
4904
4904
|
createBody: () => createBody55,
|
|
4905
|
+
previewBody: () => previewBody,
|
|
4905
4906
|
sendBody: () => sendBody,
|
|
4906
4907
|
updateBody: () => updateBody49
|
|
4907
4908
|
});
|
|
@@ -4957,6 +4958,9 @@ var sendBodyKeys = {
|
|
|
4957
4958
|
).required()
|
|
4958
4959
|
};
|
|
4959
4960
|
var sendBody = joi86.object().keys(sendBodyKeys).messages(messages);
|
|
4961
|
+
var previewBody = joi86.object().keys({
|
|
4962
|
+
body: joi86.string().required()
|
|
4963
|
+
}).messages(messages);
|
|
4960
4964
|
|
|
4961
4965
|
// src/modules/integration/emailTemplateAttachment/interfaces.ts
|
|
4962
4966
|
var interfaces_exports50 = {};
|
package/dist/index.js
CHANGED
|
@@ -1655,7 +1655,7 @@ var transferClientOwnershipBodyKeys = {
|
|
|
1655
1655
|
var transferClientOwnershipBody = joi10.object().keys(transferClientOwnershipBodyKeys).messages(messages);
|
|
1656
1656
|
var updateManyWithPersonaBodyKeys = {
|
|
1657
1657
|
id: joi10.string().uuid().required(),
|
|
1658
|
-
owner_id: joi10.string().uuid().
|
|
1658
|
+
owner_id: joi10.string().uuid().optional(),
|
|
1659
1659
|
owner_name: joi10.string().allow(null).optional(),
|
|
1660
1660
|
name: joi10.string().allow(null).optional(),
|
|
1661
1661
|
telephone: joi10.string().allow(null).optional(),
|
|
@@ -4902,6 +4902,7 @@ var LowerName80 = UpperName80[0].toLowerCase() + UpperName80.substring(1);
|
|
|
4902
4902
|
var route_schema_exports85 = {};
|
|
4903
4903
|
__export(route_schema_exports85, {
|
|
4904
4904
|
createBody: () => createBody55,
|
|
4905
|
+
previewBody: () => previewBody,
|
|
4905
4906
|
sendBody: () => sendBody,
|
|
4906
4907
|
updateBody: () => updateBody49
|
|
4907
4908
|
});
|
|
@@ -4957,6 +4958,9 @@ var sendBodyKeys = {
|
|
|
4957
4958
|
).required()
|
|
4958
4959
|
};
|
|
4959
4960
|
var sendBody = joi86.object().keys(sendBodyKeys).messages(messages);
|
|
4961
|
+
var previewBody = joi86.object().keys({
|
|
4962
|
+
body: joi86.string().required()
|
|
4963
|
+
}).messages(messages);
|
|
4960
4964
|
|
|
4961
4965
|
// src/modules/integration/emailTemplateAttachment/interfaces.ts
|
|
4962
4966
|
var interfaces_exports50 = {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import joi from 'joi';
|
|
2
|
+
import { EmailPreviewRequest } from './interfaces';
|
|
2
3
|
export declare const createBody: joi.ObjectSchema<any>;
|
|
3
4
|
export declare const updateBody: joi.ObjectSchema<any>;
|
|
4
5
|
export declare const sendBody: joi.ObjectSchema<any>;
|
|
6
|
+
export declare const previewBody: joi.ObjectSchema<EmailPreviewRequest>;
|
|
@@ -218,8 +218,8 @@ export interface IFindResponse {
|
|
|
218
218
|
}
|
|
219
219
|
export type IUpdateManyWithPersona = {
|
|
220
220
|
id: string;
|
|
221
|
-
owner_id
|
|
222
|
-
owner_name
|
|
221
|
+
owner_id?: string;
|
|
222
|
+
owner_name?: string | null;
|
|
223
223
|
name: string | null;
|
|
224
224
|
telephone: string | null;
|
|
225
225
|
email: string | null;
|
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.82",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|