@nomalism-com/types 0.25.5 → 0.25.6

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.
@@ -8,9 +8,9 @@ interface IFindDetailedResponse extends Entity {
8
8
  user: Users;
9
9
  support_language: Language | null;
10
10
  user_position: UserPositions | null;
11
- main_persona: (Persona & {
11
+ main_persona: Persona & {
12
12
  country: Country | null;
13
- }) | null;
13
+ };
14
14
  }
15
15
  export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
16
16
  export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, "user" | "support_language" | "user_position" | "main_persona">;
@@ -5,7 +5,7 @@ export declare const Route = "users";
5
5
  export declare const UpperName = "Users";
6
6
  export declare const LowerName: string;
7
7
  interface IStoreOperator extends Pick<StoreOperator, "id" | "location_id"> {
8
- main_persona: Pick<Persona, "name"> | null;
8
+ main_persona: Pick<Persona, "name">;
9
9
  }
10
10
  export interface IFindByEmailResponse extends Entity {
11
11
  store_operator: IStoreOperator;
@@ -42,9 +42,9 @@ export interface IFindByIdResponse extends Entity {
42
42
  store_operator: (StoreOperator & {
43
43
  user_position: UserPositions | null;
44
44
  support_language: Language | null;
45
- main_persona: (Persona & {
45
+ main_persona: Persona & {
46
46
  country: Country | null;
47
- }) | null;
47
+ };
48
48
  }) | null;
49
49
  commissioner: (Commissioner & {
50
50
  country: Country | null;
@@ -267,7 +267,7 @@ export type StoreOperator = {
267
267
  number: number;
268
268
  internal_email: string | null;
269
269
  support_language_id: string | null;
270
- main_persona_id: string | null;
270
+ main_persona_id: string;
271
271
  pin: string;
272
272
  location_id: string;
273
273
  inactive: boolean;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.25.5",
12
+ "version": "0.25.6",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [