@nomalism-com/types 0.25.1 → 0.25.2
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as IShared from "../../../shared/interface";
|
|
2
|
-
import { StoreOperator, Users, UserPositions, Language, type Persona } from "../../../shared/entities";
|
|
2
|
+
import { StoreOperator, Users, UserPositions, Language, type Persona, type Country } from "../../../shared/entities";
|
|
3
3
|
export type Entity = StoreOperator;
|
|
4
4
|
export declare const Route = "store_operator";
|
|
5
5
|
export declare const UpperName = "StoreOperator";
|
|
@@ -8,6 +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 & {
|
|
12
|
+
country: Country | null;
|
|
13
|
+
}) | null;
|
|
11
14
|
}
|
|
12
15
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
|
|
13
16
|
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, "user" | "support_language" | "user_position" | "main_persona">;
|
|
@@ -39,9 +39,9 @@ export interface IFindByIdResponse extends Entity {
|
|
|
39
39
|
store_operator: (StoreOperator & {
|
|
40
40
|
user_position: UserPositions | null;
|
|
41
41
|
support_language: Language | null;
|
|
42
|
-
main_persona: Persona & {
|
|
42
|
+
main_persona: (Persona & {
|
|
43
43
|
country: Country | null;
|
|
44
|
-
};
|
|
44
|
+
}) | null;
|
|
45
45
|
}) | null;
|
|
46
46
|
commissioner: (Commissioner & {
|
|
47
47
|
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;
|
|
270
|
+
main_persona_id: string | null;
|
|
271
271
|
pin: string;
|
|
272
272
|
location_id: string;
|
|
273
273
|
inactive: boolean;
|
|
@@ -378,6 +378,7 @@ export type Persona = {
|
|
|
378
378
|
provider_id: string | null;
|
|
379
379
|
client_id: string | null;
|
|
380
380
|
commissioner_id: string | null;
|
|
381
|
+
store_operator_id: string | null;
|
|
381
382
|
created_at: Date;
|
|
382
383
|
updated_at: Date;
|
|
383
384
|
created_by: string;
|