@nomalism-com/types 0.43.43 → 0.43.45

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
@@ -5553,6 +5553,7 @@ var createBodyKeys61 = {
5553
5553
  query: joi101.any().optional(),
5554
5554
  params: joi101.any().optional()
5555
5555
  }),
5556
+ url: joi101.string().required(),
5556
5557
  service: joi101.string().required(),
5557
5558
  type: joi101.string().valid(...errorTypes).required()
5558
5559
  };
package/dist/index.js CHANGED
@@ -5553,6 +5553,7 @@ var createBodyKeys61 = {
5553
5553
  query: joi101.any().optional(),
5554
5554
  params: joi101.any().optional()
5555
5555
  }),
5556
+ url: joi101.string().required(),
5556
5557
  service: joi101.string().required(),
5557
5558
  type: joi101.string().valid(...errorTypes).required()
5558
5559
  };
@@ -15,6 +15,7 @@ export declare const errorTypes: string[];
15
15
  export interface ICreateRequest {
16
16
  service: string;
17
17
  type: IErrorType;
18
+ url: string;
18
19
  error: {
19
20
  name: string;
20
21
  message: string;
@@ -279,7 +279,6 @@ export type IBrokerTopicPayload = {
279
279
  email: string;
280
280
  name: string | null;
281
281
  subject: string;
282
- message: string;
283
282
  };
284
283
  [IBrokerTopic.retry_errored_emails]: Record<string, never>;
285
284
  [IBrokerTopic.send_errored_emails_summary]: {
@@ -369,7 +368,8 @@ export type IBrokerTopicPayload = {
369
368
  email: string;
370
369
  name: string | null;
371
370
  subject: string;
372
- message: string;
371
+ documents_text: string;
372
+ username: string;
373
373
  };
374
374
  [IBrokerTopic.send_email_client_survey]: {
375
375
  persona_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.43",
4
+ "version": "0.43.45",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",