@omniumretail/shared-resources 0.0.22 → 0.0.24

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.
Files changed (183) hide show
  1. package/.eslintrc.json +31 -31
  2. package/README.md +44 -44
  3. package/dist/bundle.js +1360 -616
  4. package/dist/types/components/BottomDrawer/index.d.ts +9 -9
  5. package/dist/types/components/Button/index.d.ts +2 -2
  6. package/dist/types/components/Footer/index.d.ts +3 -3
  7. package/dist/types/components/Form/FormInputField/index.d.ts +8 -8
  8. package/dist/types/components/Form/FormSelectField/index.d.ts +9 -9
  9. package/dist/types/components/Form/index.d.ts +2 -2
  10. package/dist/types/components/Header/index.d.ts +4 -4
  11. package/dist/types/components/Link/index.d.ts +6 -6
  12. package/dist/types/components/Navigation/index.d.ts +8 -8
  13. package/dist/types/components/Page/index.d.ts +13 -13
  14. package/dist/types/components/SharedContextProvider/index.d.ts +7 -7
  15. package/dist/types/components/index.d.ts +9 -9
  16. package/dist/types/constants/Icons.d.ts +14 -13
  17. package/dist/types/constants/QueryClient.d.ts +2 -2
  18. package/dist/types/constants/index.d.ts +2 -2
  19. package/dist/types/contexts/useStore.d.ts +8 -8
  20. package/dist/types/hooks/activateEvaluationCycleQuery.hook.d.ts +2 -2
  21. package/dist/types/hooks/activateQuestionnaireQuery.hook.d.ts +2 -2
  22. package/dist/types/hooks/cancelEvaluationCycleQuery.hook.d.ts +2 -2
  23. package/dist/types/hooks/cancelQuestionnaireQuery.hook.d.ts +2 -2
  24. package/dist/types/hooks/deleteEvaluationCycleQuery.hook.d.ts +2 -2
  25. package/dist/types/hooks/deleteQuestionnaireQuery.hook.d.ts +2 -2
  26. package/dist/types/hooks/duplicateQuestionnaireQuery.hook.d.ts +2 -2
  27. package/dist/types/hooks/finishEvaluationCycleQuery.hook.d.ts +2 -2
  28. package/dist/types/hooks/finishQuestionnaireQuery.hook.d.ts +2 -2
  29. package/dist/types/hooks/index.d.ts +39 -39
  30. package/dist/types/hooks/useAllRolesQuery.hook.d.ts +11 -11
  31. package/dist/types/hooks/useAllStoreQuery.hook.d.ts +11 -11
  32. package/dist/types/hooks/useAnalyticsEvaluationCyclesQuery.hook.d.ts +7 -7
  33. package/dist/types/hooks/useAnalyticsQuestionsQuery.hook.d.ts +9 -9
  34. package/dist/types/hooks/useAnalyticsSideBarQuery.hook.d.ts +7 -7
  35. package/dist/types/hooks/useAnalyticsUserIdQuery.hook.d.ts +9 -9
  36. package/dist/types/hooks/useAnalyticsUserQuery.hook.d.ts +9 -9
  37. package/dist/types/hooks/useAnswerIdQuery.hook.d.ts +2 -2
  38. package/dist/types/hooks/useAnswerMutateQuery.hook.d.ts +9 -9
  39. package/dist/types/hooks/useAnswersUserSupervisorQuery.hook.d.ts +7 -7
  40. package/dist/types/hooks/useApplicationDataQuery.hook.d.ts +2 -2
  41. package/dist/types/hooks/useContractStatesQuery.hook.d.ts +7 -0
  42. package/dist/types/hooks/useCountriesQuery.hook.d.ts +7 -7
  43. package/dist/types/hooks/useCustomersQuery.hook.d.ts +138 -138
  44. package/dist/types/hooks/useEvaluationCycleIdQuery.hook.d.ts +2 -2
  45. package/dist/types/hooks/useEvaluationCycleMutateQuery.hook.d.ts +2 -2
  46. package/dist/types/hooks/useEvaluationCycleQuery.hook.d.ts +8 -8
  47. package/dist/types/hooks/useJobTitlesQuery.hook.d.ts +7 -0
  48. package/dist/types/hooks/useProductHierarchies.hook.d.ts +7 -7
  49. package/dist/types/hooks/useProductsQuery.hook.d.ts +138 -138
  50. package/dist/types/hooks/useQuestionnaireIdQuery.hook.d.ts +2 -2
  51. package/dist/types/hooks/useQuestionnaireMutateQuery.hook.d.ts +2 -2
  52. package/dist/types/hooks/useQuestionnaireQuery.hook.d.ts +9 -9
  53. package/dist/types/hooks/useSingleUserIdMutateQuery.hook.d.ts +2 -2
  54. package/dist/types/hooks/useSingleUserIdQuery.hook.d.ts +2 -2
  55. package/dist/types/hooks/useStoreQuery.d.ts +7 -7
  56. package/dist/types/hooks/useTermNotificationQuery.hook.d.ts +2 -2
  57. package/dist/types/hooks/useUserBlockQuery.hook.d.ts +2 -2
  58. package/dist/types/hooks/useUserEmailVerifQuery.hook.d.ts +2 -2
  59. package/dist/types/hooks/useUserIdQuery.hook.d.ts +2 -2
  60. package/dist/types/hooks/useUserListQuery.hook.d.ts +8 -8
  61. package/dist/types/hooks/useUserQuery.hook.d.ts +10 -10
  62. package/dist/types/index.d.ts +7 -7
  63. package/dist/types/interfaces/AnalyticsEvaluationCycle.d.ts +19 -19
  64. package/dist/types/interfaces/AnalyticsUserId.d.ts +11 -11
  65. package/dist/types/interfaces/Answer.d.ts +12 -12
  66. package/dist/types/interfaces/AnswersUserSupervisor.d.ts +42 -42
  67. package/dist/types/interfaces/ApplicationsByCategory.d.ts +16 -16
  68. package/dist/types/interfaces/Brand.d.ts +4 -4
  69. package/dist/types/interfaces/Cart.d.ts +9 -9
  70. package/dist/types/interfaces/Configuration.d.ts +6 -6
  71. package/dist/types/interfaces/ContractStates.d.ts +7 -0
  72. package/dist/types/interfaces/Countries.d.ts +10 -10
  73. package/dist/types/interfaces/Customer.d.ts +21 -21
  74. package/dist/types/interfaces/EvaluationCycle.d.ts +32 -32
  75. package/dist/types/interfaces/JobTitles.d.ts +7 -0
  76. package/dist/types/interfaces/Product.d.ts +16 -35
  77. package/dist/types/interfaces/ProductsHierarchies.d.ts +5 -8
  78. package/dist/types/interfaces/Questionnaire.d.ts +36 -36
  79. package/dist/types/interfaces/ResponseList.d.ts +5 -5
  80. package/dist/types/interfaces/Roles.d.ts +5 -5
  81. package/dist/types/interfaces/Store.d.ts +7 -7
  82. package/dist/types/interfaces/TermNotification.d.ts +5 -5
  83. package/dist/types/interfaces/User.d.ts +65 -65
  84. package/dist/types/interfaces/index.d.ts +19 -19
  85. package/dist/types/services/ApiService/index.d.ts +9 -9
  86. package/dist/types/services/InitService/index.d.ts +3 -3
  87. package/dist/types/services/index.d.ts +2 -2
  88. package/package.json +54 -54
  89. package/src/assets/sitoo.svg +9 -9
  90. package/src/components/BottomDrawer/index.tsx +32 -32
  91. package/src/components/BottomDrawer/styles.module.scss +59 -59
  92. package/src/components/Button/index.tsx +7 -7
  93. package/src/components/Footer/index.tsx +44 -44
  94. package/src/components/Footer/styles.module.scss +33 -33
  95. package/src/components/Form/FormInputField/index.tsx +18 -18
  96. package/src/components/Form/FormSelectField/index.tsx +16 -16
  97. package/src/components/Form/index.ts +2 -2
  98. package/src/components/Header/index.tsx +20 -20
  99. package/src/components/Header/styles.module.scss +16 -16
  100. package/src/components/Link/index.tsx +21 -21
  101. package/src/components/Link/styles.module.scss +24 -24
  102. package/src/components/Navigation/index.tsx +30 -30
  103. package/src/components/Navigation/styles.module.scss +34 -34
  104. package/src/components/Page/index.tsx +35 -35
  105. package/src/components/Page/styles.module.scss +26 -26
  106. package/src/components/SharedContextProvider/index.tsx +30 -30
  107. package/src/components/index.ts +9 -9
  108. package/src/constants/Icons.ts +20 -19
  109. package/src/constants/QueryClient.ts +10 -10
  110. package/src/constants/index.ts +2 -2
  111. package/src/contexts/useStore.tsx +20 -20
  112. package/src/global.scss +124 -124
  113. package/src/hooks/activateEvaluationCycleQuery.hook.ts +15 -15
  114. package/src/hooks/activateQuestionnaireQuery.hook.ts +15 -15
  115. package/src/hooks/cancelEvaluationCycleQuery.hook.ts +15 -15
  116. package/src/hooks/cancelQuestionnaireQuery.hook.ts +15 -15
  117. package/src/hooks/deleteEvaluationCycleQuery.hook.ts +15 -15
  118. package/src/hooks/deleteQuestionnaireQuery.hook.ts +15 -15
  119. package/src/hooks/duplicateQuestionnaireQuery.hook.ts +14 -14
  120. package/src/hooks/finishEvaluationCycleQuery.hook.ts +15 -15
  121. package/src/hooks/finishQuestionnaireQuery.hook.ts +15 -15
  122. package/src/hooks/index.ts +41 -39
  123. package/src/hooks/useAllRolesQuery.hook.ts +21 -21
  124. package/src/hooks/useAllStoreQuery.hook.ts +27 -27
  125. package/src/hooks/useAnalyticsEvaluationCyclesQuery.hook.ts +21 -21
  126. package/src/hooks/useAnalyticsQuestionsQuery.hook.ts +22 -22
  127. package/src/hooks/useAnalyticsSideBarQuery.hook.ts +21 -21
  128. package/src/hooks/useAnalyticsUserIdQuery.hook.ts +24 -24
  129. package/src/hooks/useAnalyticsUserQuery.hook.ts +27 -27
  130. package/src/hooks/useAnswerIdQuery.hook.ts +13 -13
  131. package/src/hooks/useAnswerMutateQuery.hook.ts +31 -31
  132. package/src/hooks/useAnswersUserSupervisorQuery.hook.tsx +21 -21
  133. package/src/hooks/useApplicationDataQuery.hook.ts +10 -10
  134. package/src/hooks/useContractStatesQuery.hook.ts +14 -0
  135. package/src/hooks/useCountriesQuery.hook.ts +14 -14
  136. package/src/hooks/useCustomersQuery.hook.ts +30 -30
  137. package/src/hooks/useEvaluationCycleIdQuery.hook.ts +13 -13
  138. package/src/hooks/useEvaluationCycleMutateQuery.hook.ts +17 -17
  139. package/src/hooks/useEvaluationCycleQuery.hook.ts +25 -25
  140. package/src/hooks/useJobTitlesQuery.hook.ts +14 -0
  141. package/src/hooks/useProductHierarchies.hook.ts +12 -12
  142. package/src/hooks/useProductsQuery.hook.ts +30 -30
  143. package/src/hooks/useQuestionnaireIdQuery.hook.ts +13 -13
  144. package/src/hooks/useQuestionnaireMutateQuery.hook.ts +17 -17
  145. package/src/hooks/useQuestionnaireQuery.hook.ts +27 -27
  146. package/src/hooks/useSingleUserIdMutateQuery.hook.ts +18 -17
  147. package/src/hooks/useSingleUserIdQuery.hook.ts +14 -14
  148. package/src/hooks/useStoreQuery.ts +13 -13
  149. package/src/hooks/useTermNotificationQuery.hook.ts +11 -11
  150. package/src/hooks/useUserBlockQuery.hook.ts +15 -15
  151. package/src/hooks/useUserEmailVerifQuery.hook.ts +15 -15
  152. package/src/hooks/useUserIdQuery.hook.ts +14 -14
  153. package/src/hooks/useUserListQuery.hook.ts +25 -25
  154. package/src/hooks/useUserQuery.hook.ts +29 -29
  155. package/src/index.ts +9 -9
  156. package/src/interfaces/AnalyticsEvaluationCycle.ts +24 -24
  157. package/src/interfaces/AnalyticsUserId.ts +12 -12
  158. package/src/interfaces/Answer.ts +13 -13
  159. package/src/interfaces/AnswersUserSupervisor.ts +45 -45
  160. package/src/interfaces/ApplicationsByCategory.ts +19 -19
  161. package/src/interfaces/Brand.ts +4 -4
  162. package/src/interfaces/Cart.ts +12 -12
  163. package/src/interfaces/Configuration.ts +7 -7
  164. package/src/interfaces/ContractStates.ts +7 -0
  165. package/src/interfaces/Countries.ts +10 -10
  166. package/src/interfaces/Customer.ts +23 -23
  167. package/src/interfaces/EvaluationCycle.ts +32 -32
  168. package/src/interfaces/JobTitles.ts +7 -0
  169. package/src/interfaces/Product.ts +18 -38
  170. package/src/interfaces/ProductsHierarchies.ts +6 -9
  171. package/src/interfaces/Questionnaire.ts +38 -38
  172. package/src/interfaces/ResponseList.ts +6 -6
  173. package/src/interfaces/Roles.ts +5 -5
  174. package/src/interfaces/Store.ts +8 -8
  175. package/src/interfaces/TermNotification.ts +5 -5
  176. package/src/interfaces/User.ts +69 -69
  177. package/src/interfaces/index.ts +21 -19
  178. package/src/services/ApiService/index.ts +125 -98
  179. package/src/services/InitService/index.ts +7 -7
  180. package/src/services/index.ts +3 -3
  181. package/src/types/Global.d.ts +4 -4
  182. package/tsconfig.json +27 -26
  183. package/webpack.config.js +48 -48
@@ -1,12 +1,12 @@
1
- import { Product, Customer } from "./";
2
-
3
- export interface Cart {
4
- customer: Customer | null;
5
- products: CartProduct[];
6
- total: number;
7
- }
8
-
9
-
10
- export interface CartProduct extends Product {
11
- quantity: number;
12
- }
1
+ import { Product, Customer } from "./";
2
+
3
+ export interface Cart {
4
+ customer: Customer | null;
5
+ products: CartProduct[];
6
+ total: number;
7
+ }
8
+
9
+
10
+ export interface CartProduct extends Product {
11
+ quantity: number;
12
+ }
@@ -1,7 +1,7 @@
1
-
2
- export interface Configuration {
3
- ApiHost: string;
4
- ApiPath: string;
5
- token?: string;
6
- tokenAuth0?: string;
7
- }
1
+
2
+ export interface Configuration {
3
+ ApiHost: string;
4
+ ApiPath: string;
5
+ token?: string;
6
+ tokenAuth0?: string;
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface ContractStates {
2
+ Id: string;
3
+ Name: string;
4
+ Status: string;
5
+ CreateDate: number;
6
+ UpdatedDate: number;
7
+ }
@@ -1,10 +1,10 @@
1
- export interface Countries {
2
- Id: string;
3
- ISO2: string;
4
- ISO3: string;
5
- Name: string;
6
- Status: string;
7
- CreateDate: number;
8
- UpdateDate: number;
9
- DialCode: any;
10
- }
1
+ export interface Countries {
2
+ Id: string;
3
+ ISO2: string;
4
+ ISO3: string;
5
+ Name: string;
6
+ Status: string;
7
+ CreateDate: number;
8
+ UpdateDate: number;
9
+ DialCode: any;
10
+ }
@@ -1,23 +1,23 @@
1
-
2
- export interface Customer {
3
- Name: string;
4
- CustomerId: string;
5
- MemberNumber: string;
6
- Email: string;
7
- FirstName: string;
8
- LastName: string;
9
- Gender: string;
10
- Birthday: string;
11
- Jobtitle: string;
12
- Address: CustomerAddress;
13
- DoNotPhone: boolean;
14
- DoNotEmail: boolean;
15
- Mobilephone: string;
16
- }
17
-
18
- export interface CustomerAddress {
19
- Address: string;
20
- Zip: string;
21
- City: string;
22
- Country: string;
23
- }
1
+
2
+ export interface Customer {
3
+ Name: string;
4
+ CustomerId: string;
5
+ MemberNumber: string;
6
+ Email: string;
7
+ FirstName: string;
8
+ LastName: string;
9
+ Gender: string;
10
+ Birthday: string;
11
+ Jobtitle: string;
12
+ Address: CustomerAddress;
13
+ DoNotPhone: boolean;
14
+ DoNotEmail: boolean;
15
+ Mobilephone: string;
16
+ }
17
+
18
+ export interface CustomerAddress {
19
+ Address: string;
20
+ Zip: string;
21
+ City: string;
22
+ Country: string;
23
+ }
@@ -1,32 +1,32 @@
1
-
2
- export interface EvaluationCycle {
3
- Id: string;
4
- UserId: string;
5
- Type: number;
6
- Name: string;
7
- Year: number;
8
- DateInterval: { StartDate: number; EndDate: number };
9
- Users: EvaluationUsers[];
10
- QuestionnaireId: string;
11
- QuestionnaireName: string;
12
- State: string;
13
- Status: string;
14
- Notifications: EvaluationNotifications[];
15
- NotificationAgenda: string;
16
- TotalNumberOfUsers: number;
17
- TotalNumberOfAnswers: number;
18
- IsOnlyForUsers: boolean;
19
- }
20
-
21
- export interface EvaluationNotifications {
22
- NotificationTypeId: string;
23
- NotificationReceiver: string;
24
- Date: number;
25
- }
26
-
27
- export interface EvaluationUsers {
28
- UserId: string;
29
- UserAnswer: boolean;
30
- SupervisorId: string;
31
- SupervisorAnswer: boolean;
32
- }
1
+
2
+ export interface EvaluationCycle {
3
+ Id: string;
4
+ UserId: string;
5
+ Type: number;
6
+ Name: string;
7
+ Year: number;
8
+ DateInterval: { StartDate: number; EndDate: number };
9
+ Users: EvaluationUsers[];
10
+ QuestionnaireId: string;
11
+ QuestionnaireName: string;
12
+ State: string;
13
+ Status: string;
14
+ Notifications: EvaluationNotifications[];
15
+ NotificationAgenda: string;
16
+ TotalNumberOfUsers: number;
17
+ TotalNumberOfAnswers: number;
18
+ IsOnlyForUsers: boolean;
19
+ }
20
+
21
+ export interface EvaluationNotifications {
22
+ NotificationTypeId: string;
23
+ NotificationReceiver: string;
24
+ Date: number;
25
+ }
26
+
27
+ export interface EvaluationUsers {
28
+ UserId: string;
29
+ UserAnswer: boolean;
30
+ SupervisorId: string;
31
+ SupervisorAnswer: boolean;
32
+ }
@@ -0,0 +1,7 @@
1
+ export interface JobTitles {
2
+ Id: string;
3
+ Name: string;
4
+ Status: string;
5
+ CreateDate: number;
6
+ UpdatedDate: number;
7
+ }
@@ -1,38 +1,18 @@
1
-
2
- export interface Product {
3
- Id: string;
4
- Reference: string;
5
- CompanyId: string;
6
- Name: string;
7
- PriceSRP: number;
8
- PriceCost: number;
9
- VATId: string;
10
- HierarchyId: string;
11
- SupplierId: string;
12
- IsStockCountEnabled: boolean;
13
- MinOnlineStockQuantity: number;
14
- IsNewArrival: boolean;
15
- IsVerified: boolean;
16
- Status: string;
17
- Type: number;
18
- Attributes: ProductAttribute[];
19
- Items: ProductItem[];
20
- CreateDate: number;
21
- UpdateDate: number;
22
- Recommendations: string[];
23
- SimilarProducts: string[];
24
- Images: string[];
25
- }
26
-
27
- export interface ProductItem {
28
- SKU: string;
29
- Barcodes: string[];
30
- Attributes: ProductAttribute[];
31
- Rank: number;
32
- Options: ProductAttribute[];
33
- }
34
-
35
- export interface ProductAttribute {
36
- Name: string;
37
- Value: string;
38
- }
1
+
2
+ export interface Product {
3
+ Id: string;
4
+ Name: string;
5
+ Price: number;
6
+ Description: string;
7
+ CategoryId: string;
8
+ Variantes: ProductItem[];
9
+ Images: string[];
10
+ }
11
+
12
+ export interface ProductItem {
13
+ SKU: string;
14
+ Size1: string;
15
+ Size2: string;
16
+ Stock: number;
17
+ StockOnline: number;
18
+ }
@@ -1,9 +1,6 @@
1
-
2
- export interface ProductsHierarchies {
3
- Id: string;
4
- ParentHierarchyId: string;
5
- CompanyId: string;
6
- Name: string;
7
- CreateDate: number;
8
- UpdateDate: number;
9
- }
1
+
2
+ export interface ProductsHierarchies {
3
+ Id: string;
4
+ Name: string;
5
+ SubCategory?: ProductsHierarchies[];
6
+ }
@@ -1,39 +1,39 @@
1
-
2
- export interface Questionnaire {
3
- Id: string;
4
- Name: string;
5
- Type: number;
6
- NrLevel: number;
7
- Level: number;
8
- State: string;
9
- Categories: Categories[];
10
- }
11
-
12
- export interface Categories {
13
- Id: string;
14
- Title: string;
15
- Key: string;
16
- Data: {
17
- Id: string;
18
- CategoryId: string;
19
- CategoryName: string;
20
- OpenAnswer: boolean;
21
- Grade: number;
22
- GeneralEvaluationLevel: number;
23
- Description: string;
24
- Score: string;
25
- Questions: Questions[];
26
- };
27
- Children: Categories[];
28
- }
29
-
30
- export interface Questions {
31
- Id: string;
32
- Question: string;
33
- Info: string;
34
- Grade: number;
35
- QuestionId: string;
36
- Subject: string;
37
- Description: string;
38
- Answer: string;
1
+
2
+ export interface Questionnaire {
3
+ Id: string;
4
+ Name: string;
5
+ Type: number;
6
+ NrLevel: number;
7
+ Level: number;
8
+ State: string;
9
+ Categories: Categories[];
10
+ }
11
+
12
+ export interface Categories {
13
+ Id: string;
14
+ Title: string;
15
+ Key: string;
16
+ Data: {
17
+ Id: string;
18
+ CategoryId: string;
19
+ CategoryName: string;
20
+ OpenAnswer: boolean;
21
+ Grade: number;
22
+ GeneralEvaluationLevel: number;
23
+ Description: string;
24
+ Score: string;
25
+ Questions: Questions[];
26
+ };
27
+ Children: Categories[];
28
+ }
29
+
30
+ export interface Questions {
31
+ Id: string;
32
+ Question: string;
33
+ Info: string;
34
+ Grade: number;
35
+ QuestionId: string;
36
+ Subject: string;
37
+ Description: string;
38
+ Answer: string;
39
39
  }
@@ -1,6 +1,6 @@
1
-
2
- export type ResponseList<K extends string, T> = {
3
- [key in K]: T[];
4
- } & {
5
- Count: number;
6
- };
1
+
2
+ export type ResponseList<K extends string, T> = {
3
+ [key in K]: T[];
4
+ } & {
5
+ Count: number;
6
+ };
@@ -1,5 +1,5 @@
1
- export interface Roles {
2
- ApplicationName: string;
3
- RoleId: string;
4
- RoleName: string;
5
- }
1
+ export interface Roles {
2
+ ApplicationName: string;
3
+ RoleId: string;
4
+ RoleName: string;
5
+ }
@@ -1,8 +1,8 @@
1
-
2
- export interface Store {
3
- Id: string;
4
- Name: string;
5
- Address: string;
6
- City: string;
7
- ZipCode: string;
8
- }
1
+
2
+ export interface Store {
3
+ Id: string;
4
+ Name: string;
5
+ Address: string;
6
+ City: string;
7
+ ZipCode: string;
8
+ }
@@ -1,6 +1,6 @@
1
-
2
- export interface TermNotification {
3
- Id: string;
4
- Value: string;
5
- Label: string;
1
+
2
+ export interface TermNotification {
3
+ Id: string;
4
+ Value: string;
5
+ Label: string;
6
6
  }
@@ -1,69 +1,69 @@
1
-
2
- export interface User {
3
- UserId: string;
4
- DisplayName: string;
5
- Code: string;
6
- Store: string[];
7
- JobTitleId: string;
8
- JobTitleName: string;
9
- ContractStateId: string;
10
- ContractStateName: string;
11
- IsSelected: boolean;
12
- UserScore: number;
13
- SupervisorScore: number;
14
- Date: number;
15
- Supervisor: string;
16
- TypeOfContract: string;
17
- Team: string;
18
- UserName: string;
19
- }
20
-
21
- interface JobTitle {
22
- Id: string;
23
- Name: string;
24
- }
25
-
26
- interface ContractState {
27
- Id: string;
28
- Name: string;
29
- }
30
-
31
- interface Roles {
32
- Id: string;
33
- Name: string;
34
- }
35
-
36
- export interface SingleUser {
37
- UserId: string;
38
- FullName: string;
39
- Email: string;
40
- DisplayName: string;
41
- PhoneNumber: number;
42
- Code: string;
43
- Birthday: number;
44
- AdmissionData: number;
45
- ResignDate: number;
46
- Address: string;
47
- ZipCode: string;
48
- City: string;
49
- CountryIso02: string;
50
- JobTitle: JobTitle;
51
- ContractState: ContractState;
52
- Stores: string[];
53
- SupervisorId: string;
54
- ImageUrl: string;
55
- Tags: string[];
56
- Roles: Roles;
57
- IdentityCardNumber: number | string;
58
- IdentityCardExpirationDate: number | string;
59
- PlaceOfBirth: string;
60
- MaritalStatus: string;
61
- NumberOfChildren: number;
62
- Qualifications: string;
63
- TaxNumber: string;
64
- SocialSecurityNumber: string;
65
- IBAN: string;
66
- CreateDate: number;
67
- UpdateDate: string
68
- ContractStatusId: string;
69
- }
1
+
2
+ export interface User {
3
+ UserId: string;
4
+ DisplayName: string;
5
+ Code: string;
6
+ Store: string[];
7
+ JobTitleId: string;
8
+ JobTitleName: string;
9
+ ContractStateId: string;
10
+ ContractStateName: string;
11
+ IsSelected: boolean;
12
+ UserScore: number;
13
+ SupervisorScore: number;
14
+ Date: number;
15
+ Supervisor: string;
16
+ TypeOfContract: string;
17
+ Team: string;
18
+ UserName: string;
19
+ }
20
+
21
+ interface JobTitle {
22
+ Id: string;
23
+ Name: string;
24
+ }
25
+
26
+ interface ContractState {
27
+ Id: string;
28
+ Name: string;
29
+ }
30
+
31
+ interface Roles {
32
+ Id: string;
33
+ Name: string;
34
+ }
35
+
36
+ export interface SingleUser {
37
+ UserId: string;
38
+ FullName: string;
39
+ Email: string;
40
+ DisplayName: string;
41
+ PhoneNumber: number;
42
+ Code: string;
43
+ Birthday: number;
44
+ AdmissionData: number;
45
+ ResignDate: number;
46
+ Address: string;
47
+ ZipCode: string;
48
+ City: string;
49
+ CountryIso02: string;
50
+ JobTitle: JobTitle;
51
+ ContractState: ContractState;
52
+ Stores: string[];
53
+ SupervisorId: string;
54
+ ImageUrl: string;
55
+ Tags: string[];
56
+ Roles: Roles;
57
+ IdentityCardNumber: number | string;
58
+ IdentityCardExpirationDate: number | string;
59
+ PlaceOfBirth: string;
60
+ MaritalStatus: string;
61
+ NumberOfChildren: number;
62
+ Qualifications: string;
63
+ TaxNumber: string;
64
+ SocialSecurityNumber: string;
65
+ IBAN: string;
66
+ CreateDate: number;
67
+ UpdateDate: string
68
+ ContractStatusId: string;
69
+ }
@@ -1,19 +1,21 @@
1
- export * from './ResponseList';
2
- export * from './Configuration';
3
- export * from './Store';
4
- export * from './Product';
5
- export * from './Customer';
6
- export * from './ApplicationsByCategory';
7
- export * from './EvaluationCycle';
8
- export * from './User';
9
- export * from './Questionnaire';
10
- export * from './AnalyticsEvaluationCycle';
11
- export * from './Answer';
12
- export * from './AnalyticsUserId';
13
- export * from './Cart';
14
- export * from './ProductsHierarchies';
15
- export * from './Brand';
16
- export * from './Countries';
17
- export * from './Roles';
18
- export * from './AnswersUserSupervisor';
19
- export * from './TermNotification';
1
+ export * from './ResponseList';
2
+ export * from './Configuration';
3
+ export * from './Store';
4
+ export * from './Product';
5
+ export * from './Customer';
6
+ export * from './ApplicationsByCategory';
7
+ export * from './EvaluationCycle';
8
+ export * from './User';
9
+ export * from './Questionnaire';
10
+ export * from './AnalyticsEvaluationCycle';
11
+ export * from './Answer';
12
+ export * from './AnalyticsUserId';
13
+ export * from './Cart';
14
+ export * from './ProductsHierarchies';
15
+ export * from './Brand';
16
+ export * from './Countries';
17
+ export * from './Roles';
18
+ export * from './AnswersUserSupervisor';
19
+ export * from './TermNotification';
20
+ export * from './JobTitles';
21
+ export * from './ContractStates';