@nomalism-com/types 0.44.21 → 0.44.23
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
|
@@ -1528,7 +1528,8 @@ var createBodyKeys9 = {
|
|
|
1528
1528
|
commission_percentage: joi10.number().positive().allow(0).default(0).optional(),
|
|
1529
1529
|
return_reason: joi10.string().allow(null).optional(),
|
|
1530
1530
|
updated_by: joi10.string().uuid().allow(null).optional(),
|
|
1531
|
-
created_by: joi10.string().uuid().allow(null).optional()
|
|
1531
|
+
created_by: joi10.string().uuid().allow(null).optional(),
|
|
1532
|
+
seller: joi10.string().uuid().allow(null).optional()
|
|
1532
1533
|
};
|
|
1533
1534
|
var createBody9 = joi10.object().keys(createBodyKeys9).and("reason_for_exemption_id", "reason_for_exemption").and("payment_method_id", "payment_method").and("delivery_method_id", "delivery_method").and("delivery_departure_street", "delivery_departure_postal_code", "delivery_departure_locality").and("vehicle_id", "vehicle").messages(messages);
|
|
1534
1535
|
var createFromHeaderBodyKeys = {
|
package/dist/index.js
CHANGED
|
@@ -1528,7 +1528,8 @@ var createBodyKeys9 = {
|
|
|
1528
1528
|
commission_percentage: joi10.number().positive().allow(0).default(0).optional(),
|
|
1529
1529
|
return_reason: joi10.string().allow(null).optional(),
|
|
1530
1530
|
updated_by: joi10.string().uuid().allow(null).optional(),
|
|
1531
|
-
created_by: joi10.string().uuid().allow(null).optional()
|
|
1531
|
+
created_by: joi10.string().uuid().allow(null).optional(),
|
|
1532
|
+
seller: joi10.string().uuid().allow(null).optional()
|
|
1532
1533
|
};
|
|
1533
1534
|
var createBody9 = joi10.object().keys(createBodyKeys9).and("reason_for_exemption_id", "reason_for_exemption").and("payment_method_id", "payment_method").and("delivery_method_id", "delivery_method").and("delivery_departure_street", "delivery_departure_postal_code", "delivery_departure_locality").and("vehicle_id", "vehicle").messages(messages);
|
|
1534
1535
|
var createFromHeaderBodyKeys = {
|
|
@@ -380,19 +380,13 @@ export type IBrokerTopicPayload = {
|
|
|
380
380
|
chat_document_header_id: string;
|
|
381
381
|
language_id: string;
|
|
382
382
|
};
|
|
383
|
-
[IBrokerTopic.persona_updated]: {
|
|
383
|
+
[IBrokerTopic.persona_updated]: Pick<Persona, 'name' | 'nif' | 'telephone' | 'email' | 'street' | 'postal_code' | 'locality' | 'country_id' | 'reason_for_exemption_id'> & {
|
|
384
384
|
id: string;
|
|
385
385
|
owner_id?: string;
|
|
386
386
|
owner_name?: string | null;
|
|
387
|
-
name: string | null;
|
|
388
|
-
telephone: string | null;
|
|
389
|
-
email: string | null;
|
|
390
|
-
street: string | null;
|
|
391
|
-
postal_code: string | null;
|
|
392
|
-
locality: string | null;
|
|
393
|
-
country_id: string | null;
|
|
394
|
-
country_name: string | null;
|
|
395
387
|
updated_by: string;
|
|
388
|
+
country_name: string | null;
|
|
389
|
+
reason_for_exemption: string | null;
|
|
396
390
|
};
|
|
397
391
|
};
|
|
398
392
|
export interface IBrokerMessage<T extends IBrokerTopic = IBrokerTopic> {
|
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.23",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|