@nomalism-com/types 0.43.41 → 0.43.44

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.
@@ -109,6 +109,7 @@ export type ProductPrices = {
109
109
  origin_id: string | null;
110
110
  created_by: string;
111
111
  updated_by: string;
112
+ margin: number;
112
113
  };
113
114
  /**
114
115
  * Model ProductImage
@@ -346,6 +347,8 @@ export type DocumentHeader = {
346
347
  updated_at: Date;
347
348
  created_by: string;
348
349
  updated_by: string;
350
+ document_label: string;
351
+ name: string;
349
352
  };
350
353
  /**
351
354
  * Model DocumentHeaderHistory
@@ -399,6 +402,19 @@ export type DocumentLine = {
399
402
  updated_at: Date;
400
403
  created_by: string;
401
404
  updated_by: string;
405
+ client_unit_total_without_tax: number;
406
+ client_unit_total_without_discount: number;
407
+ client_unit_total: number;
408
+ client_unit_total_discount: number;
409
+ client_unit_total_tax: number;
410
+ client_total_without_tax: number;
411
+ client_total_without_discount: number;
412
+ client_total: number;
413
+ client_total_discount: number;
414
+ client_total_tax: number;
415
+ group_header: boolean;
416
+ product_margin: number;
417
+ virtual_index: number;
402
418
  };
403
419
  /**
404
420
  * Model DocumentLineAssoc
@@ -914,16 +930,6 @@ export type DocumentLineBaseVirtuals = {
914
930
  */
915
931
  export type DocumentLineVirtuals = {
916
932
  document_line_id: string;
917
- client_unit_total_without_tax: number;
918
- client_unit_total_without_discount: number;
919
- client_unit_total: number;
920
- client_unit_total_discount: number;
921
- client_unit_total_tax: number;
922
- client_total_without_tax: number;
923
- client_total_without_discount: number;
924
- client_total: number;
925
- client_total_discount: number;
926
- client_total_tax: number;
927
933
  provider_unit_total_without_tax: number;
928
934
  provider_unit_total_without_discount: number;
929
935
  provider_unit_total: number;
@@ -940,7 +946,6 @@ export type DocumentLineVirtuals = {
940
946
  phc_closed: boolean;
941
947
  closed: boolean;
942
948
  provider_closed: boolean;
943
- group_header: boolean;
944
949
  waiting_for_bulk_order: boolean;
945
950
  waiting_for_order: boolean;
946
951
  stock_in: boolean;
@@ -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.41",
4
+ "version": "0.43.44",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",