@nomalism-com/types 0.44.14 → 0.44.15

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
@@ -1634,7 +1634,8 @@ var updateBodyKeys8 = {
1634
1634
  confirmed_date: joi10.date().optional(),
1635
1635
  who_handles: joi10.string().allow(null).optional(),
1636
1636
  warning: joi10.string().optional().valid(...Object.values(IWarningType)),
1637
- created_by: joi10.string().uuid().allow(null).optional()
1637
+ created_by: joi10.string().uuid().allow(null).optional(),
1638
+ seller: joi10.string().uuid().allow(null).optional()
1638
1639
  };
1639
1640
  var updateBody8 = joi10.object().keys(updateBodyKeys8).and("reason_for_exemption_id", "reason_for_exemption").and("persona_id", "contact_name", "email", "phone_number").and(
1640
1641
  "delivery_country_name",
package/dist/index.js CHANGED
@@ -1634,7 +1634,8 @@ var updateBodyKeys8 = {
1634
1634
  confirmed_date: joi10.date().optional(),
1635
1635
  who_handles: joi10.string().allow(null).optional(),
1636
1636
  warning: joi10.string().optional().valid(...Object.values(IWarningType)),
1637
- created_by: joi10.string().uuid().allow(null).optional()
1637
+ created_by: joi10.string().uuid().allow(null).optional(),
1638
+ seller: joi10.string().uuid().allow(null).optional()
1638
1639
  };
1639
1640
  var updateBody8 = joi10.object().keys(updateBodyKeys8).and("reason_for_exemption_id", "reason_for_exemption").and("persona_id", "contact_name", "email", "phone_number").and(
1640
1641
  "delivery_country_name",
@@ -189,6 +189,7 @@ export interface IUpdateRequest {
189
189
  created_by?: string;
190
190
  confirmed?: boolean;
191
191
  confirmed_date?: Date;
192
+ seller?: string | null;
192
193
  }
193
194
  export type IGetActionsDocumentType = Pick<DocumentType, 'user_type' | 'allow_create_from_header_without_lines' | 'pay' | 'credit' | 'debit' | 'invoice' | 'code' | 'return' | 'id' | 'description'>;
194
195
  export interface IGetActionsResponse {
@@ -344,6 +344,7 @@ export type DocumentHeader = {
344
344
  document_name: string;
345
345
  external_document_name: string | null;
346
346
  qrcode: string | null;
347
+ seller: string | null;
347
348
  created_at: Date;
348
349
  updated_at: Date;
349
350
  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": "0.44.14",
4
+ "version": "0.44.15",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",