@nomalism-com/types 1.3.37 → 1.3.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.js CHANGED
@@ -1631,7 +1631,8 @@ var updateBodyKeys8 = {
1631
1631
  confirmed_date: joi10.date().optional(),
1632
1632
  who_handles: joi10.string().allow(null).optional(),
1633
1633
  warning: joi10.string().optional().valid(...Object.values(IWarningType)),
1634
- created_by: joi10.string().uuid().allow(null).optional()
1634
+ created_by: joi10.string().uuid().allow(null).optional(),
1635
+ seller: joi10.string().uuid().allow(null).optional()
1635
1636
  };
1636
1637
  var updateBody8 = joi10.object().keys(updateBodyKeys8).and("reason_for_exemption_id", "reason_for_exemption").and("persona_id", "contact_name", "email", "phone_number").and(
1637
1638
  "delivery_country_name",
@@ -186,6 +186,7 @@ export interface IUpdateRequest {
186
186
  created_by?: string;
187
187
  confirmed?: boolean;
188
188
  confirmed_date?: Date;
189
+ seller?: string | null;
189
190
  }
190
191
  export type IGetActionsDocumentType = Pick<DocumentType, 'user_type' | 'allow_create_from_header_without_lines' | 'pay' | 'credit' | 'debit' | 'invoice' | 'code' | 'return' | 'id' | 'description'>;
191
192
  export interface IGetActionsResponse {
@@ -341,6 +341,7 @@ export type DocumentHeader = {
341
341
  document_name: string;
342
342
  external_document_name: string | null;
343
343
  qrcode: string | null;
344
+ seller: string | null;
344
345
  created_at: Date;
345
346
  updated_at: Date;
346
347
  created_by: 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": "1.3.37",
4
+ "version": "1.3.38",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",