@nomalism-com/types 0.34.36 → 0.34.38

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
@@ -4794,8 +4794,7 @@ var undoProviderOrderBodyKeys = {
4794
4794
  var undoProviderOrderBody = joi87.object().keys(undoProviderOrderBodyKeys).messages(messages);
4795
4795
  var conferirEncomendaClienteBody = joi87.object().keys({
4796
4796
  option: joi87.string().valid(...conferirEncomendaClienteOptions).required(),
4797
- document_line_ids: joi87.array().items(joi87.string().uuid().required()).required(),
4798
- multimedia_ids: joi87.array().items(joi87.string().uuid().required()).required()
4797
+ document_line_ids: joi87.array().items(joi87.string().uuid().required()).required()
4799
4798
  }).messages(messages);
4800
4799
  var setProviderBodyKeys = {
4801
4800
  document_line_assoc_ids: joi87.array().items(joi87.string().uuid().required()).required(),
package/dist/index.js CHANGED
@@ -4794,8 +4794,7 @@ var undoProviderOrderBodyKeys = {
4794
4794
  var undoProviderOrderBody = joi87.object().keys(undoProviderOrderBodyKeys).messages(messages);
4795
4795
  var conferirEncomendaClienteBody = joi87.object().keys({
4796
4796
  option: joi87.string().valid(...conferirEncomendaClienteOptions).required(),
4797
- document_line_ids: joi87.array().items(joi87.string().uuid().required()).required(),
4798
- multimedia_ids: joi87.array().items(joi87.string().uuid().required()).required()
4797
+ document_line_ids: joi87.array().items(joi87.string().uuid().required()).required()
4799
4798
  }).messages(messages);
4800
4799
  var setProviderBodyKeys = {
4801
4800
  document_line_assoc_ids: joi87.array().items(joi87.string().uuid().required()).required(),
@@ -46,7 +46,6 @@ export declare const conferirEncomendaClienteOptions: string[];
46
46
  export interface IConferirEncomendaClienteRequest {
47
47
  option: IConferirEncomendaClienteOptions;
48
48
  document_line_ids: string[];
49
- multimedia_ids: string[];
50
49
  }
51
50
  export interface IConferirEncomendaClienteResponse {
52
51
  document_line_id: string;
@@ -8,6 +8,7 @@ import type { IWarningType } from '../modules/supply/documentHeader/interfaces';
8
8
  import type { IProjectInfoType } from '../modules/integration/projectInfo/interfaces';
9
9
  import type { IChat, IEmail, IEncomenda, IMultimedia, IMultimediaSummary, IPostgresBackup, IPrint, IProjectInfo, IProposta, IServiceLogs, IServiceStatus, IStock, ITask } from '../modules/view/adminPanel/interfaces';
10
10
  import type * as ErrorLog from '../modules/view/errorLog/interfaces';
11
+ import type { File } from './entities/stock';
11
12
  export { messages };
12
13
  type CreatedAt = 'created_at';
13
14
  type UpdatedAt = 'updated_at';
@@ -251,6 +252,7 @@ export type IBrokerTopicPayload = {
251
252
  pf_number: string;
252
253
  provider_name: string;
253
254
  provider_email: string;
255
+ attachments: Pick<File, 'title' | 'multimedia_id'>[];
254
256
  };
255
257
  [IBrokerTopic.undo_provider_order_schedule_email]: {
256
258
  provider_id: string;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.34.36",
12
+ "version": "0.34.38",
13
13
  "type": "module",
14
14
  "module": "./dist/index.js",
15
15
  "main": "./dist/index.cjs",
@@ -88,7 +88,6 @@ export const conferirEncomendaClienteOptions = Object.keys(ConferirEncomendaClie
88
88
  export interface IConferirEncomendaClienteRequest {
89
89
  option: IConferirEncomendaClienteOptions;
90
90
  document_line_ids: string[];
91
- multimedia_ids: string[];
92
91
  }
93
92
 
94
93
  export interface IConferirEncomendaClienteResponse {
@@ -28,7 +28,6 @@ export const conferirEncomendaClienteBody = joi
28
28
  .valid(...conferirEncomendaClienteOptions)
29
29
  .required(),
30
30
  document_line_ids: joi.array().items(joi.string().uuid().required()).required(),
31
- multimedia_ids: joi.array().items(joi.string().uuid().required()).required(),
32
31
  })
33
32
  .messages(messages);
34
33
 
@@ -25,6 +25,7 @@ import type {
25
25
  ITask,
26
26
  } from '../modules/view/adminPanel/interfaces';
27
27
  import type * as ErrorLog from '../modules/view/errorLog/interfaces';
28
+ import type { File } from './entities/stock';
28
29
 
29
30
  export { messages };
30
31
 
@@ -401,6 +402,7 @@ export type IBrokerTopicPayload = {
401
402
  pf_number: string;
402
403
  provider_name: string;
403
404
  provider_email: string;
405
+ attachments: Pick<File, 'title' | 'multimedia_id'>[];
404
406
  };
405
407
  [IBrokerTopic.undo_provider_order_schedule_email]: {
406
408
  provider_id: string;