@nomalism-com/types 0.43.68 → 0.43.70
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 +1 -0
- package/dist/index.js +1 -0
- package/dist/shared/entities/stock.d.ts +2 -2
- package/dist/shared/interface.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -473,6 +473,7 @@ var IBrokerTopic = /* @__PURE__ */ ((IBrokerTopic2) => {
|
|
|
473
473
|
IBrokerTopic2["espera_devolver_catalogo_email"] = "espera_devolver_catalogo_email";
|
|
474
474
|
IBrokerTopic2["verification_email"] = "verification_email";
|
|
475
475
|
IBrokerTopic2["dispatch_chat_message"] = "dispatch_chat_message";
|
|
476
|
+
IBrokerTopic2["translate_chat_message"] = "translate_chat_message";
|
|
476
477
|
IBrokerTopic2["perform_task"] = "perform_task";
|
|
477
478
|
IBrokerTopic2["create_site_proposal"] = "create_site_proposal";
|
|
478
479
|
IBrokerTopic2["push_notification"] = "push_notification";
|
package/dist/index.js
CHANGED
|
@@ -473,6 +473,7 @@ var IBrokerTopic = /* @__PURE__ */ ((IBrokerTopic2) => {
|
|
|
473
473
|
IBrokerTopic2["espera_devolver_catalogo_email"] = "espera_devolver_catalogo_email";
|
|
474
474
|
IBrokerTopic2["verification_email"] = "verification_email";
|
|
475
475
|
IBrokerTopic2["dispatch_chat_message"] = "dispatch_chat_message";
|
|
476
|
+
IBrokerTopic2["translate_chat_message"] = "translate_chat_message";
|
|
476
477
|
IBrokerTopic2["perform_task"] = "perform_task";
|
|
477
478
|
IBrokerTopic2["create_site_proposal"] = "create_site_proposal";
|
|
478
479
|
IBrokerTopic2["push_notification"] = "push_notification";
|
|
@@ -109,7 +109,7 @@ export type ProductPrices = {
|
|
|
109
109
|
origin_id: string | null;
|
|
110
110
|
created_by: string;
|
|
111
111
|
updated_by: string;
|
|
112
|
-
margin: number;
|
|
112
|
+
margin: number | null;
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* Model ProductImage
|
|
@@ -413,7 +413,7 @@ export type DocumentLine = {
|
|
|
413
413
|
client_total_discount: number;
|
|
414
414
|
client_total_tax: number;
|
|
415
415
|
group_header: boolean;
|
|
416
|
-
product_margin: number;
|
|
416
|
+
product_margin: number | null;
|
|
417
417
|
virtual_index: number;
|
|
418
418
|
};
|
|
419
419
|
/**
|
|
@@ -154,6 +154,7 @@ export declare enum IBrokerTopic {
|
|
|
154
154
|
espera_devolver_catalogo_email = "espera_devolver_catalogo_email",
|
|
155
155
|
verification_email = "verification_email",
|
|
156
156
|
dispatch_chat_message = "dispatch_chat_message",
|
|
157
|
+
translate_chat_message = "translate_chat_message",
|
|
157
158
|
perform_task = "perform_task",
|
|
158
159
|
create_site_proposal = "create_site_proposal",
|
|
159
160
|
push_notification = "push_notification",
|
|
@@ -294,6 +295,11 @@ export type IBrokerTopicPayload = {
|
|
|
294
295
|
email_subject?: string;
|
|
295
296
|
created_by: string;
|
|
296
297
|
};
|
|
298
|
+
[IBrokerTopic.translate_chat_message]: {
|
|
299
|
+
chat_id: string;
|
|
300
|
+
target_language_id: string;
|
|
301
|
+
message: string;
|
|
302
|
+
};
|
|
297
303
|
[IBrokerTopic.create_site_proposal]: ProjectInfo;
|
|
298
304
|
[IBrokerTopic.verification_email]: {
|
|
299
305
|
email: 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.43.
|
|
4
|
+
"version": "0.43.70",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|