@nomalism-com/types 0.44.13 → 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",
|
|
@@ -1716,7 +1717,7 @@ var createSiteProposalBody = joi10.object().keys({
|
|
|
1716
1717
|
updated_at: joi10.string().isoDate().required()
|
|
1717
1718
|
}).messages(messages);
|
|
1718
1719
|
var findCountByOwnersIdsKeys = {
|
|
1719
|
-
|
|
1720
|
+
owner_ids: joi10.array().items(joi10.string().uuid().required()).required()
|
|
1720
1721
|
};
|
|
1721
1722
|
var findCountByOwnersIds = joi10.object().keys(findCountByOwnersIdsKeys).messages(messages);
|
|
1722
1723
|
|
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",
|
|
@@ -1716,7 +1717,7 @@ var createSiteProposalBody = joi10.object().keys({
|
|
|
1716
1717
|
updated_at: joi10.string().isoDate().required()
|
|
1717
1718
|
}).messages(messages);
|
|
1718
1719
|
var findCountByOwnersIdsKeys = {
|
|
1719
|
-
|
|
1720
|
+
owner_ids: joi10.array().items(joi10.string().uuid().required()).required()
|
|
1720
1721
|
};
|
|
1721
1722
|
var findCountByOwnersIds = joi10.object().keys(findCountByOwnersIdsKeys).messages(messages);
|
|
1722
1723
|
|
|
@@ -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 {
|
|
@@ -292,7 +293,7 @@ export interface IFindStartDocumentHeaderSiblingsResponse {
|
|
|
292
293
|
previous: string | null;
|
|
293
294
|
}
|
|
294
295
|
export interface IFindCountByOwnersIdsRequest {
|
|
295
|
-
|
|
296
|
+
owner_ids: string[];
|
|
296
297
|
}
|
|
297
298
|
export interface IFindCountByOwnersIdsResponse {
|
|
298
299
|
owner_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.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",
|