@nomalism-com/types 0.40.9 → 0.40.10

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).xor("document_line_assoc_ids", "external_document_header_ids").messages(messages);
2091
+ var sendEmailDocumentBody = joi22.object().keys(sendEmailDocumentBodyKeys).messages(messages);
2093
2092
 
2094
2093
  // src/modules/user/favorites/interfaces.ts
2095
2094
  var interfaces_exports16 = {};
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).xor("document_line_assoc_ids", "external_document_header_ids").messages(messages);
2091
+ var sendEmailDocumentBody = joi22.object().keys(sendEmailDocumentBodyKeys).messages(messages);
2093
2092
 
2094
2093
  // src/modules/user/favorites/interfaces.ts
2095
2094
  var interfaces_exports16 = {};
@@ -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.9",
4
+ "version": "0.40.10",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",