@nomalism-com/types 0.40.53 → 0.40.54

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
@@ -4557,6 +4557,7 @@ var purchaseFromProviderBodyKeys = {
4557
4557
  invoice_due_date: joi83.date().required(),
4558
4558
  document_line_ids: joi83.array().items(joi83.string().required()).required(),
4559
4559
  global_discount: joi83.number().min(0).max(100).allow(null).optional(),
4560
+ account_code: joi83.string().allow(null, "").empty("").optional(),
4560
4561
  shipping: joi83.object().keys({
4561
4562
  product_id: joi83.string().required(),
4562
4563
  price: joi83.number().allow(0).positive().required()
package/dist/index.js CHANGED
@@ -4557,6 +4557,7 @@ var purchaseFromProviderBodyKeys = {
4557
4557
  invoice_due_date: joi83.date().required(),
4558
4558
  document_line_ids: joi83.array().items(joi83.string().required()).required(),
4559
4559
  global_discount: joi83.number().min(0).max(100).allow(null).optional(),
4560
+ account_code: joi83.string().allow(null, "").empty("").optional(),
4560
4561
  shipping: joi83.object().keys({
4561
4562
  product_id: joi83.string().required(),
4562
4563
  price: joi83.number().allow(0).positive().required()
@@ -67,6 +67,7 @@ export interface IPurchaseFromProviderRequest {
67
67
  note?: string;
68
68
  vat_self_accounting?: boolean;
69
69
  purchase_without_invoice: boolean;
70
+ account_code: string | null;
70
71
  }
71
72
  export interface ISyncRequest {
72
73
  provider_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.40.53",
4
+ "version": "0.40.54",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",