summaryrefslogtreecommitdiff
path: root/src-migrate/types
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-11-29 10:37:21 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-11-29 10:37:21 +0700
commitc996c4e0631aa3d51acc83f4cc23418e91f3158f (patch)
tree63d31733edd048ea50780d966ff0a1d5a4fa4866 /src-migrate/types
parentf7a13c357a6d44f9fa6e0c034292ab782249731e (diff)
parent37cd18a88f0f104e81c1b6f33f9bab7b2a0b2dfb (diff)
Merge branch 'new-release' into CR/website-improvement
Diffstat (limited to 'src-migrate/types')
-rw-r--r--src-migrate/types/auth.ts9
-rw-r--r--src-migrate/types/productVariant.ts1
2 files changed, 6 insertions, 4 deletions
diff --git a/src-migrate/types/auth.ts b/src-migrate/types/auth.ts
index 593e120f..8feac2e1 100644
--- a/src-migrate/types/auth.ts
+++ b/src-migrate/types/auth.ts
@@ -16,10 +16,11 @@ export type AuthProps = {
company: boolean;
pricelist: string | null;
token: string;
- feature : {
- onlyReadyStock : boolean,
- soApproval : boolean
- }
+ feature: {
+ onlyReadyStock: boolean;
+ soApproval: boolean;
+ };
+ partner_tempo: boolean;
};
export type AuthApiProps = OdooApiRes<AuthProps>;
diff --git a/src-migrate/types/productVariant.ts b/src-migrate/types/productVariant.ts
index 861b216a..5144e7c1 100644
--- a/src-migrate/types/productVariant.ts
+++ b/src-migrate/types/productVariant.ts
@@ -4,6 +4,7 @@ export interface IProductVariantDetail {
code: string;
name: string;
weight: number;
+ is_in_bu: boolean;
is_flashsale: {
remaining_time: number;
is_flashsale: boolean;