@nomalism-com/types 0.25.5 → 0.25.7
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.
|
@@ -210,7 +210,7 @@ export interface IProductFromSheets extends Record<string, string | number | und
|
|
|
210
210
|
"promo.final_date": string | number;
|
|
211
211
|
}
|
|
212
212
|
export type AuthMode = "NONE" | "LIMITED" | "FULL";
|
|
213
|
-
export type ChangeType = "INSERT_ROW" | "REMOVE_ROW" | "UPDATE_ROW" | "RESTORE_ROW" | "UPDATE_FROM_NOMA_ROW";
|
|
213
|
+
export type ChangeType = "INSERT_ROW" | "REMOVE_ROW" | "UPDATE_ROW" | "RESTORE_ROW" | "UPDATE_FROM_NOMA_ROW" | "CREATE_IMAGE";
|
|
214
214
|
export type ProductSheetActionData = {
|
|
215
215
|
metadata: string;
|
|
216
216
|
authMode: AuthMode;
|
|
@@ -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:
|
|
11
|
+
main_persona: Persona & {
|
|
12
12
|
country: Country | null;
|
|
13
|
-
}
|
|
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"
|
|
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:
|
|
45
|
+
main_persona: Persona & {
|
|
46
46
|
country: Country | null;
|
|
47
|
-
}
|
|
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
|
|
270
|
+
main_persona_id: string;
|
|
271
271
|
pin: string;
|
|
272
272
|
location_id: string;
|
|
273
273
|
inactive: boolean;
|