types-salon-management 1.0.3 → 1.0.4
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.
- package/package.json +1 -1
- package/src/models/session.model.ts +41 -1
package/package.json
CHANGED
|
@@ -20,6 +20,22 @@ export interface UserDto {
|
|
|
20
20
|
onboardingComplete: boolean;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
export interface CompanyCountryDto {
|
|
24
|
+
code: string;
|
|
25
|
+
name: string;
|
|
26
|
+
currencyCode: string;
|
|
27
|
+
currencySymbol: string;
|
|
28
|
+
locale: string;
|
|
29
|
+
taxLabel: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface CompanyBusinessCategoryDto {
|
|
33
|
+
id: string;
|
|
34
|
+
slug: string;
|
|
35
|
+
name: string;
|
|
36
|
+
isPrimary: boolean;
|
|
37
|
+
}
|
|
38
|
+
|
|
23
39
|
export interface CompanyDto {
|
|
24
40
|
id: string;
|
|
25
41
|
name: string;
|
|
@@ -29,6 +45,10 @@ export interface CompanyDto {
|
|
|
29
45
|
timezone: string | null;
|
|
30
46
|
adminStaffId: string | null;
|
|
31
47
|
adminLocationId: string | null;
|
|
48
|
+
country: CompanyCountryDto | null;
|
|
49
|
+
paymentGateway: string | null;
|
|
50
|
+
businessCategories: CompanyBusinessCategoryDto[];
|
|
51
|
+
primaryBusinessCategoryId: string | null;
|
|
32
52
|
}
|
|
33
53
|
|
|
34
54
|
export interface LocationDto {
|
|
@@ -95,6 +115,27 @@ export interface OnboardingUserResponseDto {
|
|
|
95
115
|
onboardingComplete: false;
|
|
96
116
|
}
|
|
97
117
|
|
|
118
|
+
export interface MasterCountryDto {
|
|
119
|
+
code: string;
|
|
120
|
+
name: string;
|
|
121
|
+
currencyCode: string;
|
|
122
|
+
currencySymbol: string;
|
|
123
|
+
locale: string;
|
|
124
|
+
taxLabel: string;
|
|
125
|
+
defaultTimezone: string;
|
|
126
|
+
paymentGateway: string;
|
|
127
|
+
signupActive: boolean;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export interface MasterBusinessCategoryDto {
|
|
131
|
+
id: string;
|
|
132
|
+
slug: string;
|
|
133
|
+
name: string;
|
|
134
|
+
description: string | null;
|
|
135
|
+
imageUrl: string | null;
|
|
136
|
+
active: boolean;
|
|
137
|
+
}
|
|
138
|
+
|
|
98
139
|
export interface CreateOnboardingUserRequest {
|
|
99
140
|
email: string;
|
|
100
141
|
firstName: string;
|
|
@@ -112,5 +153,4 @@ export interface CreateOnboardingCompanyRequest {
|
|
|
112
153
|
address?: unknown;
|
|
113
154
|
countryCode: string;
|
|
114
155
|
timezone: string;
|
|
115
|
-
currency?: string;
|
|
116
156
|
}
|