@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 {
|
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.
|
|
4
|
+
"version": "0.44.15",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|