@nomalism-com/types 0.43.67 → 0.43.69
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
|
@@ -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";
|
|
@@ -4283,6 +4284,7 @@ __export(route_schema_exports74, {
|
|
|
4283
4284
|
findForGmailParamsValidate: () => findForGmailParamsValidate,
|
|
4284
4285
|
findQuery: () => findQuery30,
|
|
4285
4286
|
getBasicSearchParamsValidate: () => getBasicSearchParamsValidate,
|
|
4287
|
+
publicUpdateBody: () => publicUpdateBody,
|
|
4286
4288
|
updateBody: () => updateBody48
|
|
4287
4289
|
});
|
|
4288
4290
|
import joi75 from "joi";
|
|
@@ -4358,6 +4360,10 @@ var findForGmailParamsKeys = {
|
|
|
4358
4360
|
owner_id: joi75.string().uuid().required()
|
|
4359
4361
|
};
|
|
4360
4362
|
var findForGmailParamsValidate = joi75.object().keys(findForGmailParamsKeys).messages(messages);
|
|
4363
|
+
var publicUpdateBodyKeys = {
|
|
4364
|
+
language_id: joi75.string().uuid().allow(null, "").required()
|
|
4365
|
+
};
|
|
4366
|
+
var publicUpdateBody = joi75.object().keys(publicUpdateBodyKeys).messages(messages);
|
|
4361
4367
|
|
|
4362
4368
|
// src/modules/integration/projectInfo/route.schema.ts
|
|
4363
4369
|
var route_schema_exports75 = {};
|
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";
|
|
@@ -4283,6 +4284,7 @@ __export(route_schema_exports74, {
|
|
|
4283
4284
|
findForGmailParamsValidate: () => findForGmailParamsValidate,
|
|
4284
4285
|
findQuery: () => findQuery30,
|
|
4285
4286
|
getBasicSearchParamsValidate: () => getBasicSearchParamsValidate,
|
|
4287
|
+
publicUpdateBody: () => publicUpdateBody,
|
|
4286
4288
|
updateBody: () => updateBody48
|
|
4287
4289
|
});
|
|
4288
4290
|
import joi75 from "joi";
|
|
@@ -4358,6 +4360,10 @@ var findForGmailParamsKeys = {
|
|
|
4358
4360
|
owner_id: joi75.string().uuid().required()
|
|
4359
4361
|
};
|
|
4360
4362
|
var findForGmailParamsValidate = joi75.object().keys(findForGmailParamsKeys).messages(messages);
|
|
4363
|
+
var publicUpdateBodyKeys = {
|
|
4364
|
+
language_id: joi75.string().uuid().allow(null, "").required()
|
|
4365
|
+
};
|
|
4366
|
+
var publicUpdateBody = joi75.object().keys(publicUpdateBodyKeys).messages(messages);
|
|
4361
4367
|
|
|
4362
4368
|
// src/modules/integration/projectInfo/route.schema.ts
|
|
4363
4369
|
var route_schema_exports75 = {};
|
|
@@ -7,3 +7,4 @@ export declare const deleteQueryValidate: joi.ObjectSchema<any>;
|
|
|
7
7
|
export declare const FindByEmailQueryValidate: joi.ObjectSchema<any>;
|
|
8
8
|
export declare const FindClientOrProviderQueryValidate: joi.ObjectSchema<any>;
|
|
9
9
|
export declare const findForGmailParamsValidate: joi.ObjectSchema<any>;
|
|
10
|
+
export declare const publicUpdateBody: joi.ObjectSchema<any>;
|
|
@@ -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.69",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|