@omniumretail/shared-resources 0.0.75 → 0.0.76
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/.eslintrc.json +31 -31
- package/README.md +44 -44
- package/dist/bundle.js +259 -259
- package/dist/types/components/BottomDrawer/index.d.ts +9 -9
- package/dist/types/components/Button/index.d.ts +2 -2
- package/dist/types/components/Footer/index.d.ts +3 -3
- package/dist/types/components/Form/FormInputField/index.d.ts +8 -8
- package/dist/types/components/Form/FormSelectField/index.d.ts +9 -9
- package/dist/types/components/Form/index.d.ts +2 -2
- package/dist/types/components/Header/index.d.ts +4 -4
- package/dist/types/components/Link/index.d.ts +6 -6
- package/dist/types/components/Navigation/index.d.ts +8 -8
- package/dist/types/components/Page/index.d.ts +13 -13
- package/dist/types/components/SharedContextProvider/index.d.ts +7 -7
- package/dist/types/components/index.d.ts +9 -9
- package/dist/types/constants/Icons.d.ts +15 -15
- package/dist/types/constants/QueryClient.d.ts +2 -2
- package/dist/types/constants/index.d.ts +2 -2
- package/dist/types/contexts/useStore.d.ts +8 -8
- package/dist/types/hooks/activateEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/activateQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/cancelEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/cancelQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/deleteEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/deleteQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/duplicateQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/finishEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/finishQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/index.d.ts +44 -44
- package/dist/types/hooks/useAllRolesQuery.hook.d.ts +11 -11
- package/dist/types/hooks/useAllStoreQuery.hook.d.ts +13 -13
- package/dist/types/hooks/useAnalyticsEvaluationCyclesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useAnalyticsQuestionsQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnalyticsSideBarQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useAnalyticsUserIdQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnalyticsUserQuery.hook.d.ts +11 -9
- package/dist/types/hooks/useAnswerIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useAnswerMutateQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnswersUserSupervisorQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useApplicationDataQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useContractStatesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useCountriesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useCustomersQuery.hook.d.ts +138 -138
- package/dist/types/hooks/useEvaluationCycleIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useEvaluationCycleMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useEvaluationCycleQuery.hook.d.ts +10 -8
- package/dist/types/hooks/useExpUsersAnswersQuery.hook.d.ts +8 -8
- package/dist/types/hooks/useJobTitlesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useProductHierarchies.hook.d.ts +7 -7
- package/dist/types/hooks/useProductsQuery.hook.d.ts +138 -138
- package/dist/types/hooks/useQuestionnaireIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useQuestionnaireMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useQuestionnaireQuery.hook.d.ts +11 -9
- package/dist/types/hooks/useSingleUserIdMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useSingleUserIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useSingleUserResetPassword.hook.d.ts +2 -2
- package/dist/types/hooks/useStoreQuery.d.ts +7 -7
- package/dist/types/hooks/useTermNotificationQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUpdateSupervisorMutateQuery.hook.d.ts +8 -8
- package/dist/types/hooks/useUserBlockQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserEmailVerifQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserListQuery.hook.d.ts +8 -8
- package/dist/types/hooks/useUserQuery.hook.d.ts +12 -10
- package/dist/types/index.d.ts +7 -7
- package/dist/types/interfaces/AnalyticsEvaluationCycle.d.ts +19 -19
- package/dist/types/interfaces/AnalyticsUserId.d.ts +12 -12
- package/dist/types/interfaces/Answer.d.ts +12 -12
- package/dist/types/interfaces/AnswersUserSupervisor.d.ts +42 -42
- package/dist/types/interfaces/ApplicationsByCategory.d.ts +16 -16
- package/dist/types/interfaces/Brand.d.ts +4 -4
- package/dist/types/interfaces/Cart.d.ts +10 -10
- package/dist/types/interfaces/Configuration.d.ts +6 -6
- package/dist/types/interfaces/ContractStates.d.ts +7 -7
- package/dist/types/interfaces/Countries.d.ts +10 -10
- package/dist/types/interfaces/Customer.d.ts +21 -21
- package/dist/types/interfaces/EvaluationCycle.d.ts +32 -32
- package/dist/types/interfaces/ExpUsersAnswers.d.ts +15 -15
- package/dist/types/interfaces/JobTitles.d.ts +7 -7
- package/dist/types/interfaces/Product.d.ts +15 -15
- package/dist/types/interfaces/ProductsHierarchies.d.ts +5 -5
- package/dist/types/interfaces/Questionnaire.d.ts +36 -36
- package/dist/types/interfaces/ResponseList.d.ts +5 -5
- package/dist/types/interfaces/Roles.d.ts +5 -5
- package/dist/types/interfaces/Store.d.ts +7 -7
- package/dist/types/interfaces/TermNotification.d.ts +5 -5
- package/dist/types/interfaces/User.d.ts +67 -65
- package/dist/types/interfaces/index.d.ts +22 -22
- package/dist/types/services/ApiService/index.d.ts +9 -9
- package/dist/types/services/InitService/index.d.ts +3 -3
- package/dist/types/services/index.d.ts +2 -2
- package/package.json +54 -54
- package/src/assets/sitoo.svg +9 -9
- package/src/components/BottomDrawer/index.tsx +32 -32
- package/src/components/BottomDrawer/styles.module.scss +59 -59
- package/src/components/Button/index.tsx +7 -7
- package/src/components/Footer/index.tsx +44 -44
- package/src/components/Footer/styles.module.scss +33 -33
- package/src/components/Form/FormInputField/index.tsx +18 -18
- package/src/components/Form/FormSelectField/index.tsx +16 -16
- package/src/components/Form/index.ts +2 -2
- package/src/components/Header/index.tsx +20 -20
- package/src/components/Header/styles.module.scss +16 -16
- package/src/components/Link/index.tsx +21 -21
- package/src/components/Link/styles.module.scss +24 -24
- package/src/components/Navigation/index.tsx +30 -30
- package/src/components/Navigation/styles.module.scss +34 -34
- package/src/components/Page/index.tsx +35 -35
- package/src/components/Page/styles.module.scss +26 -26
- package/src/components/SharedContextProvider/index.tsx +30 -30
- package/src/components/index.ts +9 -9
- package/src/constants/Icons.ts +23 -23
- package/src/constants/QueryClient.ts +10 -10
- package/src/constants/index.ts +2 -2
- package/src/contexts/useStore.tsx +20 -20
- package/src/global.scss +124 -124
- package/src/hooks/activateEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/activateQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/cancelEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/cancelQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/deleteEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/deleteQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/duplicateQuestionnaireQuery.hook.ts +14 -14
- package/src/hooks/finishEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/finishQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/index.ts +44 -44
- package/src/hooks/useAllRolesQuery.hook.ts +25 -25
- package/src/hooks/useAllStoreQuery.hook.ts +39 -39
- package/src/hooks/useAnalyticsEvaluationCyclesQuery.hook.ts +21 -21
- package/src/hooks/useAnalyticsQuestionsQuery.hook.ts +22 -22
- package/src/hooks/useAnalyticsSideBarQuery.hook.ts +21 -21
- package/src/hooks/useAnalyticsUserIdQuery.hook.ts +24 -24
- package/src/hooks/useAnalyticsUserQuery.hook.ts +29 -27
- package/src/hooks/useAnswerIdQuery.hook.ts +13 -13
- package/src/hooks/useAnswerMutateQuery.hook.ts +31 -31
- package/src/hooks/useAnswersUserSupervisorQuery.hook.tsx +21 -21
- package/src/hooks/useApplicationDataQuery.hook.ts +10 -10
- package/src/hooks/useContractStatesQuery.hook.ts +14 -14
- package/src/hooks/useCountriesQuery.hook.ts +14 -14
- package/src/hooks/useCustomersQuery.hook.ts +30 -30
- package/src/hooks/useEvaluationCycleIdQuery.hook.ts +13 -13
- package/src/hooks/useEvaluationCycleMutateQuery.hook.ts +17 -17
- package/src/hooks/useEvaluationCycleQuery.hook.ts +27 -25
- package/src/hooks/useExpUsersAnswersQuery.hook.ts +25 -25
- package/src/hooks/useJobTitlesQuery.hook.ts +14 -14
- package/src/hooks/useProductHierarchies.hook.ts +12 -12
- package/src/hooks/useProductsQuery.hook.ts +30 -30
- package/src/hooks/useQuestionnaireIdQuery.hook.ts +13 -13
- package/src/hooks/useQuestionnaireMutateQuery.hook.ts +17 -17
- package/src/hooks/useQuestionnaireQuery.hook.ts +29 -27
- package/src/hooks/useSingleUserIdMutateQuery.hook.ts +18 -18
- package/src/hooks/useSingleUserIdQuery.hook.ts +14 -14
- package/src/hooks/useSingleUserResetPassword.hook.ts +15 -15
- package/src/hooks/useStoreQuery.ts +13 -13
- package/src/hooks/useTermNotificationQuery.hook.ts +11 -11
- package/src/hooks/useUpdateSupervisorMutateQuery.hook.ts +27 -27
- package/src/hooks/useUserBlockQuery.hook.ts +15 -15
- package/src/hooks/useUserEmailVerifQuery.hook.ts +15 -15
- package/src/hooks/useUserIdQuery.hook.ts +14 -14
- package/src/hooks/useUserListQuery.hook.ts +25 -25
- package/src/hooks/useUserQuery.hook.ts +31 -29
- package/src/index.ts +9 -9
- package/src/interfaces/AnalyticsEvaluationCycle.ts +24 -24
- package/src/interfaces/AnalyticsUserId.ts +13 -13
- package/src/interfaces/Answer.ts +13 -13
- package/src/interfaces/AnswersUserSupervisor.ts +45 -45
- package/src/interfaces/ApplicationsByCategory.ts +19 -19
- package/src/interfaces/Brand.ts +4 -4
- package/src/interfaces/Cart.ts +13 -13
- package/src/interfaces/Configuration.ts +7 -7
- package/src/interfaces/ContractStates.ts +7 -7
- package/src/interfaces/Countries.ts +10 -10
- package/src/interfaces/Customer.ts +23 -23
- package/src/interfaces/EvaluationCycle.ts +32 -32
- package/src/interfaces/ExpUsersAnswers.ts +16 -16
- package/src/interfaces/JobTitles.ts +7 -7
- package/src/interfaces/Product.ts +17 -17
- package/src/interfaces/ProductsHierarchies.ts +6 -6
- package/src/interfaces/Questionnaire.ts +38 -38
- package/src/interfaces/ResponseList.ts +6 -6
- package/src/interfaces/Roles.ts +5 -5
- package/src/interfaces/Store.ts +8 -8
- package/src/interfaces/TermNotification.ts +5 -5
- package/src/interfaces/User.ts +71 -69
- package/src/interfaces/index.ts +22 -22
- package/src/services/ApiService/index.ts +125 -125
- package/src/services/InitService/index.ts +7 -7
- package/src/services/index.ts +3 -3
- package/src/types/Global.d.ts +4 -4
- package/tsconfig.json +27 -27
- package/webpack.config.js +48 -48
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface ApplicationsByCategory {
|
|
2
|
-
Id: string;
|
|
3
|
-
Name: string;
|
|
4
|
-
Applications: ApplicationAttribute[];
|
|
5
|
-
}
|
|
6
|
-
export interface ApplicationAttribute {
|
|
7
|
-
Id: string;
|
|
8
|
-
Key: string;
|
|
9
|
-
Name: string;
|
|
10
|
-
Description: string;
|
|
11
|
-
URL: string;
|
|
12
|
-
ImageURL: string;
|
|
13
|
-
Status: string;
|
|
14
|
-
CreateDate: number;
|
|
15
|
-
UpdateDate: number;
|
|
16
|
-
}
|
|
1
|
+
export interface ApplicationsByCategory {
|
|
2
|
+
Id: string;
|
|
3
|
+
Name: string;
|
|
4
|
+
Applications: ApplicationAttribute[];
|
|
5
|
+
}
|
|
6
|
+
export interface ApplicationAttribute {
|
|
7
|
+
Id: string;
|
|
8
|
+
Key: string;
|
|
9
|
+
Name: string;
|
|
10
|
+
Description: string;
|
|
11
|
+
URL: string;
|
|
12
|
+
ImageURL: string;
|
|
13
|
+
Status: string;
|
|
14
|
+
CreateDate: number;
|
|
15
|
+
UpdateDate: number;
|
|
16
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface Brand {
|
|
2
|
-
Id: string;
|
|
3
|
-
Name: string;
|
|
4
|
-
}
|
|
1
|
+
export interface Brand {
|
|
2
|
+
Id: string;
|
|
3
|
+
Name: string;
|
|
4
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Product, Customer } from "./";
|
|
2
|
-
export interface Cart {
|
|
3
|
-
customer: Customer | null;
|
|
4
|
-
products: CartProduct[];
|
|
5
|
-
total: number;
|
|
6
|
-
}
|
|
7
|
-
export interface CartProduct extends Product {
|
|
8
|
-
quantity: number;
|
|
9
|
-
SKU: string;
|
|
10
|
-
}
|
|
1
|
+
import { Product, Customer } from "./";
|
|
2
|
+
export interface Cart {
|
|
3
|
+
customer: Customer | null;
|
|
4
|
+
products: CartProduct[];
|
|
5
|
+
total: number;
|
|
6
|
+
}
|
|
7
|
+
export interface CartProduct extends Product {
|
|
8
|
+
quantity: number;
|
|
9
|
+
SKU: string;
|
|
10
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface Configuration {
|
|
2
|
-
ApiHost: string;
|
|
3
|
-
ApiPath: string;
|
|
4
|
-
token?: string;
|
|
5
|
-
tokenAuth0?: string;
|
|
6
|
-
}
|
|
1
|
+
export interface Configuration {
|
|
2
|
+
ApiHost: string;
|
|
3
|
+
ApiPath: string;
|
|
4
|
+
token?: string;
|
|
5
|
+
tokenAuth0?: string;
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface ContractStates {
|
|
2
|
-
Id: string;
|
|
3
|
-
Name: string;
|
|
4
|
-
Status: string;
|
|
5
|
-
CreateDate: number;
|
|
6
|
-
UpdatedDate: number;
|
|
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,21 +1,21 @@
|
|
|
1
|
-
export interface Customer {
|
|
2
|
-
Name: string;
|
|
3
|
-
CustomerId: string;
|
|
4
|
-
MemberNumber: string;
|
|
5
|
-
Email: string;
|
|
6
|
-
FirstName: string;
|
|
7
|
-
LastName: string;
|
|
8
|
-
Gender: string;
|
|
9
|
-
Birthday: string;
|
|
10
|
-
Jobtitle: string;
|
|
11
|
-
Address: CustomerAddress;
|
|
12
|
-
DoNotPhone: boolean;
|
|
13
|
-
DoNotEmail: boolean;
|
|
14
|
-
Mobilephone: string;
|
|
15
|
-
}
|
|
16
|
-
export interface CustomerAddress {
|
|
17
|
-
Address: string;
|
|
18
|
-
Zip: string;
|
|
19
|
-
City: string;
|
|
20
|
-
Country: string;
|
|
21
|
-
}
|
|
1
|
+
export interface Customer {
|
|
2
|
+
Name: string;
|
|
3
|
+
CustomerId: string;
|
|
4
|
+
MemberNumber: string;
|
|
5
|
+
Email: string;
|
|
6
|
+
FirstName: string;
|
|
7
|
+
LastName: string;
|
|
8
|
+
Gender: string;
|
|
9
|
+
Birthday: string;
|
|
10
|
+
Jobtitle: string;
|
|
11
|
+
Address: CustomerAddress;
|
|
12
|
+
DoNotPhone: boolean;
|
|
13
|
+
DoNotEmail: boolean;
|
|
14
|
+
Mobilephone: string;
|
|
15
|
+
}
|
|
16
|
+
export interface CustomerAddress {
|
|
17
|
+
Address: string;
|
|
18
|
+
Zip: string;
|
|
19
|
+
City: string;
|
|
20
|
+
Country: string;
|
|
21
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export interface EvaluationCycle {
|
|
2
|
-
Id: string;
|
|
3
|
-
UserId: string;
|
|
4
|
-
Type: number;
|
|
5
|
-
Name: string;
|
|
6
|
-
Year: number;
|
|
7
|
-
DateInterval: {
|
|
8
|
-
StartDate: number;
|
|
9
|
-
EndDate: number;
|
|
10
|
-
};
|
|
11
|
-
Users: EvaluationUsers[];
|
|
12
|
-
QuestionnaireId: string;
|
|
13
|
-
QuestionnaireName: string;
|
|
14
|
-
State: string;
|
|
15
|
-
Status: string;
|
|
16
|
-
Notifications: EvaluationNotifications[];
|
|
17
|
-
NotificationAgenda: string;
|
|
18
|
-
TotalNumberOfUsers: number;
|
|
19
|
-
TotalNumberOfAnswers: number;
|
|
20
|
-
IsOnlyForUsers: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface EvaluationNotifications {
|
|
23
|
-
NotificationTypeId: string;
|
|
24
|
-
NotificationReceiver: string;
|
|
25
|
-
Date: number;
|
|
26
|
-
}
|
|
27
|
-
export interface EvaluationUsers {
|
|
28
|
-
UserId: string;
|
|
29
|
-
UserAnswer: boolean;
|
|
30
|
-
SupervisorId: string;
|
|
31
|
-
SupervisorAnswer: boolean;
|
|
32
|
-
}
|
|
1
|
+
export interface EvaluationCycle {
|
|
2
|
+
Id: string;
|
|
3
|
+
UserId: string;
|
|
4
|
+
Type: number;
|
|
5
|
+
Name: string;
|
|
6
|
+
Year: number;
|
|
7
|
+
DateInterval: {
|
|
8
|
+
StartDate: number;
|
|
9
|
+
EndDate: number;
|
|
10
|
+
};
|
|
11
|
+
Users: EvaluationUsers[];
|
|
12
|
+
QuestionnaireId: string;
|
|
13
|
+
QuestionnaireName: string;
|
|
14
|
+
State: string;
|
|
15
|
+
Status: string;
|
|
16
|
+
Notifications: EvaluationNotifications[];
|
|
17
|
+
NotificationAgenda: string;
|
|
18
|
+
TotalNumberOfUsers: number;
|
|
19
|
+
TotalNumberOfAnswers: number;
|
|
20
|
+
IsOnlyForUsers: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface EvaluationNotifications {
|
|
23
|
+
NotificationTypeId: string;
|
|
24
|
+
NotificationReceiver: string;
|
|
25
|
+
Date: number;
|
|
26
|
+
}
|
|
27
|
+
export interface EvaluationUsers {
|
|
28
|
+
UserId: string;
|
|
29
|
+
UserAnswer: boolean;
|
|
30
|
+
SupervisorId: string;
|
|
31
|
+
SupervisorAnswer: boolean;
|
|
32
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export interface ExpUsersAnswers {
|
|
2
|
-
UserId: string;
|
|
3
|
-
EvaluationCycleName: string;
|
|
4
|
-
FullName: string;
|
|
5
|
-
DisplayName: string;
|
|
6
|
-
Code: string;
|
|
7
|
-
JobTitleId: string;
|
|
8
|
-
JobTitleName: string;
|
|
9
|
-
ContractStateId: string;
|
|
10
|
-
ContractStateName: string;
|
|
11
|
-
Stores: string[];
|
|
12
|
-
UserScore: number;
|
|
13
|
-
SupervisorScore: number;
|
|
14
|
-
Status: string;
|
|
15
|
-
}
|
|
1
|
+
export interface ExpUsersAnswers {
|
|
2
|
+
UserId: string;
|
|
3
|
+
EvaluationCycleName: string;
|
|
4
|
+
FullName: string;
|
|
5
|
+
DisplayName: string;
|
|
6
|
+
Code: string;
|
|
7
|
+
JobTitleId: string;
|
|
8
|
+
JobTitleName: string;
|
|
9
|
+
ContractStateId: string;
|
|
10
|
+
ContractStateName: string;
|
|
11
|
+
Stores: string[];
|
|
12
|
+
UserScore: number;
|
|
13
|
+
SupervisorScore: number;
|
|
14
|
+
Status: string;
|
|
15
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface JobTitles {
|
|
2
|
-
Id: string;
|
|
3
|
-
Name: string;
|
|
4
|
-
Status: string;
|
|
5
|
-
CreateDate: number;
|
|
6
|
-
UpdatedDate: number;
|
|
7
|
-
}
|
|
1
|
+
export interface JobTitles {
|
|
2
|
+
Id: string;
|
|
3
|
+
Name: string;
|
|
4
|
+
Status: string;
|
|
5
|
+
CreateDate: number;
|
|
6
|
+
UpdatedDate: number;
|
|
7
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export interface Product {
|
|
2
|
-
Id: string;
|
|
3
|
-
Name: string;
|
|
4
|
-
Price: number;
|
|
5
|
-
Description: string;
|
|
6
|
-
CategoryId: string;
|
|
7
|
-
Variants: ProductItem[];
|
|
8
|
-
Images: string[];
|
|
9
|
-
}
|
|
10
|
-
export interface ProductItem {
|
|
11
|
-
SKU: string;
|
|
12
|
-
Size: string;
|
|
13
|
-
Stock: number;
|
|
14
|
-
StockOnline: number;
|
|
15
|
-
}
|
|
1
|
+
export interface Product {
|
|
2
|
+
Id: string;
|
|
3
|
+
Name: string;
|
|
4
|
+
Price: number;
|
|
5
|
+
Description: string;
|
|
6
|
+
CategoryId: string;
|
|
7
|
+
Variants: ProductItem[];
|
|
8
|
+
Images: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface ProductItem {
|
|
11
|
+
SKU: string;
|
|
12
|
+
Size: string;
|
|
13
|
+
Stock: number;
|
|
14
|
+
StockOnline: number;
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface ProductsHierarchies {
|
|
2
|
-
Id: string;
|
|
3
|
-
Name: string;
|
|
4
|
-
SubCategory?: ProductsHierarchies[];
|
|
5
|
-
}
|
|
1
|
+
export interface ProductsHierarchies {
|
|
2
|
+
Id: string;
|
|
3
|
+
Name: string;
|
|
4
|
+
SubCategory?: ProductsHierarchies[];
|
|
5
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export interface Questionnaire {
|
|
2
|
-
Id: string;
|
|
3
|
-
Name: string;
|
|
4
|
-
Type: number;
|
|
5
|
-
NrLevel: number;
|
|
6
|
-
Level: number;
|
|
7
|
-
State: string;
|
|
8
|
-
Categories: Categories[];
|
|
9
|
-
}
|
|
10
|
-
export interface Categories {
|
|
11
|
-
Id: string;
|
|
12
|
-
Title: string;
|
|
13
|
-
Key: string;
|
|
14
|
-
Data: {
|
|
15
|
-
Id: string;
|
|
16
|
-
CategoryId: string;
|
|
17
|
-
CategoryName: string;
|
|
18
|
-
OpenAnswer: boolean;
|
|
19
|
-
Grade: number;
|
|
20
|
-
GeneralEvaluationLevel: number;
|
|
21
|
-
Description: string;
|
|
22
|
-
Score: string;
|
|
23
|
-
Questions: Questions[];
|
|
24
|
-
};
|
|
25
|
-
Children: Categories[];
|
|
26
|
-
}
|
|
27
|
-
export interface Questions {
|
|
28
|
-
Id: string;
|
|
29
|
-
Question: string;
|
|
30
|
-
Info: string;
|
|
31
|
-
Grade: number;
|
|
32
|
-
QuestionId: string;
|
|
33
|
-
Subject: string;
|
|
34
|
-
Description: string;
|
|
35
|
-
Answer: string;
|
|
36
|
-
}
|
|
1
|
+
export interface Questionnaire {
|
|
2
|
+
Id: string;
|
|
3
|
+
Name: string;
|
|
4
|
+
Type: number;
|
|
5
|
+
NrLevel: number;
|
|
6
|
+
Level: number;
|
|
7
|
+
State: string;
|
|
8
|
+
Categories: Categories[];
|
|
9
|
+
}
|
|
10
|
+
export interface Categories {
|
|
11
|
+
Id: string;
|
|
12
|
+
Title: string;
|
|
13
|
+
Key: string;
|
|
14
|
+
Data: {
|
|
15
|
+
Id: string;
|
|
16
|
+
CategoryId: string;
|
|
17
|
+
CategoryName: string;
|
|
18
|
+
OpenAnswer: boolean;
|
|
19
|
+
Grade: number;
|
|
20
|
+
GeneralEvaluationLevel: number;
|
|
21
|
+
Description: string;
|
|
22
|
+
Score: string;
|
|
23
|
+
Questions: Questions[];
|
|
24
|
+
};
|
|
25
|
+
Children: Categories[];
|
|
26
|
+
}
|
|
27
|
+
export interface Questions {
|
|
28
|
+
Id: string;
|
|
29
|
+
Question: string;
|
|
30
|
+
Info: string;
|
|
31
|
+
Grade: number;
|
|
32
|
+
QuestionId: string;
|
|
33
|
+
Subject: string;
|
|
34
|
+
Description: string;
|
|
35
|
+
Answer: string;
|
|
36
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare type ResponseList<K extends string, T> = {
|
|
2
|
-
[key in K]: T[];
|
|
3
|
-
} & {
|
|
4
|
-
Count: number;
|
|
5
|
-
};
|
|
1
|
+
export declare type ResponseList<K extends string, T> = {
|
|
2
|
+
[key in K]: T[];
|
|
3
|
+
} & {
|
|
4
|
+
Count: number;
|
|
5
|
+
};
|
|
@@ -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,7 +1,7 @@
|
|
|
1
|
-
export interface Store {
|
|
2
|
-
Id: string;
|
|
3
|
-
Name: string;
|
|
4
|
-
Address: string;
|
|
5
|
-
City: string;
|
|
6
|
-
ZipCode: string;
|
|
7
|
-
}
|
|
1
|
+
export interface Store {
|
|
2
|
+
Id: string;
|
|
3
|
+
Name: string;
|
|
4
|
+
Address: string;
|
|
5
|
+
City: string;
|
|
6
|
+
ZipCode: string;
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface TermNotification {
|
|
2
|
-
Id: string;
|
|
3
|
-
Value: string;
|
|
4
|
-
Label: string;
|
|
5
|
-
}
|
|
1
|
+
export interface TermNotification {
|
|
2
|
+
Id: string;
|
|
3
|
+
Value: string;
|
|
4
|
+
Label: string;
|
|
5
|
+
}
|
|
@@ -1,65 +1,67 @@
|
|
|
1
|
-
export interface User {
|
|
2
|
-
UserId: string;
|
|
3
|
-
DisplayName: string;
|
|
4
|
-
Code: string;
|
|
5
|
-
Store: string[];
|
|
6
|
-
JobTitleId: string;
|
|
7
|
-
JobTitleName: string;
|
|
8
|
-
ContractStateId: string;
|
|
9
|
-
ContractStateName: string;
|
|
10
|
-
IsSelected: boolean;
|
|
11
|
-
UserScore: number;
|
|
12
|
-
SupervisorScore: number;
|
|
13
|
-
Date: number;
|
|
14
|
-
Supervisor: string;
|
|
15
|
-
TypeOfContract: string;
|
|
16
|
-
Team: string;
|
|
17
|
-
UserName: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
export interface User {
|
|
2
|
+
UserId: string;
|
|
3
|
+
DisplayName: string;
|
|
4
|
+
Code: string;
|
|
5
|
+
Store: string[];
|
|
6
|
+
JobTitleId: string;
|
|
7
|
+
JobTitleName: string;
|
|
8
|
+
ContractStateId: string;
|
|
9
|
+
ContractStateName: string;
|
|
10
|
+
IsSelected: boolean;
|
|
11
|
+
UserScore: number;
|
|
12
|
+
SupervisorScore: number;
|
|
13
|
+
Date: number;
|
|
14
|
+
Supervisor: string;
|
|
15
|
+
TypeOfContract: string;
|
|
16
|
+
Team: string;
|
|
17
|
+
UserName: string;
|
|
18
|
+
SupervisorId: string;
|
|
19
|
+
ImageURL: string;
|
|
20
|
+
}
|
|
21
|
+
interface JobTitle {
|
|
22
|
+
Id: string;
|
|
23
|
+
Name: string;
|
|
24
|
+
}
|
|
25
|
+
interface ContractState {
|
|
26
|
+
Id: string;
|
|
27
|
+
Name: string;
|
|
28
|
+
}
|
|
29
|
+
interface Roles {
|
|
30
|
+
Id: string;
|
|
31
|
+
Name: string;
|
|
32
|
+
}
|
|
33
|
+
export interface SingleUser {
|
|
34
|
+
UserId: string;
|
|
35
|
+
FullName: string;
|
|
36
|
+
Email: string;
|
|
37
|
+
DisplayName: string;
|
|
38
|
+
PhoneNumber: number;
|
|
39
|
+
Code: string;
|
|
40
|
+
Birthday: number;
|
|
41
|
+
AdmissionData: number;
|
|
42
|
+
ResignDate: number;
|
|
43
|
+
Address: string;
|
|
44
|
+
ZipCode: string;
|
|
45
|
+
City: string;
|
|
46
|
+
CountryIso02: string;
|
|
47
|
+
JobTitle: JobTitle;
|
|
48
|
+
ContractState: ContractState;
|
|
49
|
+
Stores: string[];
|
|
50
|
+
SupervisorId: string;
|
|
51
|
+
ImageUrl: string;
|
|
52
|
+
Tags: string[];
|
|
53
|
+
Roles: Roles;
|
|
54
|
+
IdentityCardNumber: number | string;
|
|
55
|
+
IdentityCardExpirationDate: number | string;
|
|
56
|
+
PlaceOfBirth: string;
|
|
57
|
+
MaritalStatus: string;
|
|
58
|
+
NumberOfChildren: number;
|
|
59
|
+
Qualifications: string;
|
|
60
|
+
TaxNumber: string;
|
|
61
|
+
SocialSecurityNumber: string;
|
|
62
|
+
IBAN: string;
|
|
63
|
+
CreateDate: number;
|
|
64
|
+
UpdateDate: string;
|
|
65
|
+
ContractStatusId: string;
|
|
66
|
+
}
|
|
67
|
+
export {};
|
|
@@ -1,22 +1,22 @@
|
|
|
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';
|
|
22
|
-
export * from './ExpUsersAnswers';
|
|
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';
|
|
22
|
+
export * from './ExpUsersAnswers';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import 'whatwg-fetch';
|
|
2
|
-
export declare const get: <T>(path: string, params?: Record<string, unknown>) => Promise<T>;
|
|
3
|
-
export declare const getAuth0: <T>(path: string, params?: Record<string, unknown>) => Promise<T>;
|
|
4
|
-
export declare const putAuth0: <T>(path: string, params?: Record<string, unknown>, body?: unknown, bodyType?: string) => Promise<T>;
|
|
5
|
-
export declare const postAuth0: <T>(path: string, params?: Record<string, unknown>, body?: unknown, bodyType?: string) => Promise<T>;
|
|
6
|
-
export declare const toDeleteAuth0: <T>(path: string, params?: Record<string, unknown>, body?: unknown) => Promise<T>;
|
|
7
|
-
export declare const post: <T>(path: string, body?: unknown) => Promise<T>;
|
|
8
|
-
export declare const put: <T>(path: string, body?: unknown) => Promise<T>;
|
|
9
|
-
export declare const toDelete: <T>(path: string, body?: unknown) => Promise<T>;
|
|
1
|
+
import 'whatwg-fetch';
|
|
2
|
+
export declare const get: <T>(path: string, params?: Record<string, unknown>) => Promise<T>;
|
|
3
|
+
export declare const getAuth0: <T>(path: string, params?: Record<string, unknown>) => Promise<T>;
|
|
4
|
+
export declare const putAuth0: <T>(path: string, params?: Record<string, unknown>, body?: unknown, bodyType?: string) => Promise<T>;
|
|
5
|
+
export declare const postAuth0: <T>(path: string, params?: Record<string, unknown>, body?: unknown, bodyType?: string) => Promise<T>;
|
|
6
|
+
export declare const toDeleteAuth0: <T>(path: string, params?: Record<string, unknown>, body?: unknown) => Promise<T>;
|
|
7
|
+
export declare const post: <T>(path: string, body?: unknown) => Promise<T>;
|
|
8
|
+
export declare const put: <T>(path: string, body?: unknown) => Promise<T>;
|
|
9
|
+
export declare const toDelete: <T>(path: string, body?: unknown) => Promise<T>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Configuration } from "../../interfaces/Configuration";
|
|
2
|
-
export declare const appConfig: Partial<Configuration>;
|
|
3
|
-
export declare const initService: (configuration: Configuration) => void;
|
|
1
|
+
import { Configuration } from "../../interfaces/Configuration";
|
|
2
|
+
export declare const appConfig: Partial<Configuration>;
|
|
3
|
+
export declare const initService: (configuration: Configuration) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './InitService';
|
|
2
|
-
export * from './ApiService';
|
|
1
|
+
export * from './InitService';
|
|
2
|
+
export * from './ApiService';
|