@nomalism-com/types 0.40.9 → 0.40.11
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
|
@@ -455,7 +455,6 @@ var IBrokerTopic = /* @__PURE__ */ ((IBrokerTopic2) => {
|
|
|
455
455
|
IBrokerTopic2["tickets_change"] = "tickets_change";
|
|
456
456
|
IBrokerTopic2["user_send_email_password"] = "user_send_email_password";
|
|
457
457
|
IBrokerTopic2["user_send_email_document"] = "user_send_email_document";
|
|
458
|
-
IBrokerTopic2["send_provider_payment_order"] = "send_provider_payment_order";
|
|
459
458
|
IBrokerTopic2["grant_access"] = "grant_access";
|
|
460
459
|
IBrokerTopic2["remove_access"] = "remove_access";
|
|
461
460
|
IBrokerTopic2["google_sheet_set_permissions"] = "google_sheet_set_permissions";
|
|
@@ -2089,7 +2088,7 @@ var sendEmailDocumentBodyKeys = {
|
|
|
2089
2088
|
email: joi22.string().trim(true).lowercase().required()
|
|
2090
2089
|
}).optional()
|
|
2091
2090
|
};
|
|
2092
|
-
var sendEmailDocumentBody = joi22.object().keys(sendEmailDocumentBodyKeys).
|
|
2091
|
+
var sendEmailDocumentBody = joi22.object().keys(sendEmailDocumentBodyKeys).messages(messages);
|
|
2093
2092
|
|
|
2094
2093
|
// src/modules/user/favorites/interfaces.ts
|
|
2095
2094
|
var interfaces_exports16 = {};
|
|
@@ -4692,6 +4691,7 @@ var printLabelQueryKeys2 = {
|
|
|
4692
4691
|
pc_document_number: joi85.number().integer().positive().allow(null).optional(),
|
|
4693
4692
|
prison: joi85.boolean().required(),
|
|
4694
4693
|
quantity: joi85.number().positive().required(),
|
|
4694
|
+
availableStock: joi85.number().required(),
|
|
4695
4695
|
note: joi85.string().allow(null, "").optional(),
|
|
4696
4696
|
token: joi85.string().required()
|
|
4697
4697
|
};
|
package/dist/index.js
CHANGED
|
@@ -455,7 +455,6 @@ var IBrokerTopic = /* @__PURE__ */ ((IBrokerTopic2) => {
|
|
|
455
455
|
IBrokerTopic2["tickets_change"] = "tickets_change";
|
|
456
456
|
IBrokerTopic2["user_send_email_password"] = "user_send_email_password";
|
|
457
457
|
IBrokerTopic2["user_send_email_document"] = "user_send_email_document";
|
|
458
|
-
IBrokerTopic2["send_provider_payment_order"] = "send_provider_payment_order";
|
|
459
458
|
IBrokerTopic2["grant_access"] = "grant_access";
|
|
460
459
|
IBrokerTopic2["remove_access"] = "remove_access";
|
|
461
460
|
IBrokerTopic2["google_sheet_set_permissions"] = "google_sheet_set_permissions";
|
|
@@ -2089,7 +2088,7 @@ var sendEmailDocumentBodyKeys = {
|
|
|
2089
2088
|
email: joi22.string().trim(true).lowercase().required()
|
|
2090
2089
|
}).optional()
|
|
2091
2090
|
};
|
|
2092
|
-
var sendEmailDocumentBody = joi22.object().keys(sendEmailDocumentBodyKeys).
|
|
2091
|
+
var sendEmailDocumentBody = joi22.object().keys(sendEmailDocumentBodyKeys).messages(messages);
|
|
2093
2092
|
|
|
2094
2093
|
// src/modules/user/favorites/interfaces.ts
|
|
2095
2094
|
var interfaces_exports16 = {};
|
|
@@ -4692,6 +4691,7 @@ var printLabelQueryKeys2 = {
|
|
|
4692
4691
|
pc_document_number: joi85.number().integer().positive().allow(null).optional(),
|
|
4693
4692
|
prison: joi85.boolean().required(),
|
|
4694
4693
|
quantity: joi85.number().positive().required(),
|
|
4694
|
+
availableStock: joi85.number().required(),
|
|
4695
4695
|
note: joi85.string().allow(null, "").optional(),
|
|
4696
4696
|
token: joi85.string().required()
|
|
4697
4697
|
};
|
|
@@ -132,7 +132,6 @@ export declare enum IBrokerTopic {
|
|
|
132
132
|
tickets_change = "tickets_change",
|
|
133
133
|
user_send_email_password = "user_send_email_password",
|
|
134
134
|
user_send_email_document = "user_send_email_document",
|
|
135
|
-
send_provider_payment_order = "send_provider_payment_order",
|
|
136
135
|
grant_access = "grant_access",
|
|
137
136
|
remove_access = "remove_access",
|
|
138
137
|
google_sheet_set_permissions = "google_sheet_set_permissions",
|
|
@@ -202,15 +201,6 @@ export type IBrokerTopicPayload = {
|
|
|
202
201
|
start_document_name: string;
|
|
203
202
|
attachments: IAttachment[];
|
|
204
203
|
};
|
|
205
|
-
[IBrokerTopic.send_provider_payment_order]: {
|
|
206
|
-
user: {
|
|
207
|
-
name: string;
|
|
208
|
-
email: string;
|
|
209
|
-
};
|
|
210
|
-
owner_id: string;
|
|
211
|
-
document_header_ids: string[];
|
|
212
|
-
attachments: IAttachment[];
|
|
213
|
-
};
|
|
214
204
|
[IBrokerTopic.grant_access]: {
|
|
215
205
|
email: string;
|
|
216
206
|
};
|
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.40.
|
|
4
|
+
"version": "0.40.11",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|