@nomalism-com/types 0.42.0 → 0.42.1

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
@@ -4927,13 +4927,7 @@ var createBodyKeys55 = {
4927
4927
  var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
4928
4928
  var updateBodyKeys51 = {
4929
4929
  name: joi87.string().optional(),
4930
- body: joi87.string().optional(),
4931
- attachments: joi87.array().items(
4932
- joi87.object().keys({
4933
- multimedia_id: joi87.string().uuid().required(),
4934
- name: joi87.string().required()
4935
- })
4936
- ).optional()
4930
+ body: joi87.string().optional()
4937
4931
  };
4938
4932
  var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
4939
4933
  var sendBodyKeys = {
package/dist/index.js CHANGED
@@ -4927,13 +4927,7 @@ var createBodyKeys55 = {
4927
4927
  var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
4928
4928
  var updateBodyKeys51 = {
4929
4929
  name: joi87.string().optional(),
4930
- body: joi87.string().optional(),
4931
- attachments: joi87.array().items(
4932
- joi87.object().keys({
4933
- multimedia_id: joi87.string().uuid().required(),
4934
- name: joi87.string().required()
4935
- })
4936
- ).optional()
4930
+ body: joi87.string().optional()
4937
4931
  };
4938
4932
  var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
4939
4933
  var sendBodyKeys = {
@@ -22,7 +22,6 @@ export interface ICreateRequest {
22
22
  export interface IUpdateRequest {
23
23
  name?: string;
24
24
  body?: string;
25
- attachments?: string[];
26
25
  }
27
26
  export interface ISendRequest {
28
27
  owner_id: string | null;
@@ -95,9 +95,9 @@ export type EmailLog = {
95
95
  export type EmailTemplate = {
96
96
  id: string;
97
97
  name: string;
98
- to: string;
99
- subject: string;
100
98
  body: string;
99
+ key: string;
100
+ rapid: Boolean;
101
101
  created_by: string;
102
102
  updated_by: string;
103
103
  created_at: Date;
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.42.0",
4
+ "version": "0.42.1",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",