@nomalism-com/types 0.44.21 → 0.44.22

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.
@@ -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.21",
4
+ "version": "0.44.22",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",