@omniumretail/shared-resources 0.1.81 → 0.1.83

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 (48) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +2 -0
  3. package/dist/types/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +2 -0
  4. package/dist/types/hooks/Asta/Actions/get/getActionQuery.hook.d.ts +11 -0
  5. package/dist/types/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +2 -0
  6. package/dist/types/hooks/Asta/Actions/others/archiveActionQuery.hook.d.ts +6 -0
  7. package/dist/types/hooks/Asta/Actions/others/deleteActionQuery.hook.d.ts +6 -0
  8. package/dist/types/hooks/Asta/Actions/others/extractActionQuery.hook.d.ts +6 -0
  9. package/dist/types/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +2 -0
  10. package/dist/types/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +11 -0
  11. package/dist/types/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +2 -0
  12. package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +2 -0
  13. package/dist/types/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +2 -0
  14. package/dist/types/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +6 -0
  15. package/dist/types/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +2 -0
  16. package/dist/types/hooks/Asta/Inspection/get/getInspectionQuery.hook.d.ts +2 -2
  17. package/dist/types/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +6 -0
  18. package/dist/types/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +5 -1
  19. package/dist/types/hooks/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +6 -0
  20. package/dist/types/hooks/Asta/Template/get/getTemplateQuery.hook.d.ts +2 -2
  21. package/dist/types/hooks/index.d.ts +17 -0
  22. package/dist/types/interfaces/Actions.d.ts +18 -0
  23. package/dist/types/interfaces/AnswerType.d.ts +2 -0
  24. package/dist/types/interfaces/index.d.ts +1 -0
  25. package/package.json +1 -1
  26. package/src/hooks/Asta/Actions/get/getActionByIdQuery.hook.ts +15 -0
  27. package/src/hooks/Asta/Actions/get/getActionPriorityQuery.hook.ts +10 -0
  28. package/src/hooks/Asta/Actions/get/getActionQuery.hook.ts +29 -0
  29. package/src/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.ts +20 -0
  30. package/src/hooks/Asta/Actions/others/archiveActionQuery.hook.ts +19 -0
  31. package/src/hooks/Asta/Actions/others/deleteActionQuery.hook.ts +19 -0
  32. package/src/hooks/Asta/Actions/others/extractActionQuery.hook.ts +19 -0
  33. package/src/hooks/Asta/Actions/others/finishActionQuery.hook.ts +17 -0
  34. package/src/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.ts +29 -0
  35. package/src/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.ts +10 -0
  36. package/src/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.ts +15 -0
  37. package/src/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.ts +20 -0
  38. package/src/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.ts +19 -0
  39. package/src/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.ts +17 -0
  40. package/src/hooks/Asta/Inspection/get/getInspectionQuery.hook.ts +2 -2
  41. package/src/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.ts +19 -0
  42. package/src/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.ts +8 -4
  43. package/src/hooks/Asta/Inspection/others/extractTemplateQuery.hook.ts +19 -0
  44. package/src/hooks/Asta/Template/get/getTemplateQuery.hook.ts +2 -2
  45. package/src/hooks/index.ts +18 -0
  46. package/src/interfaces/Actions.ts +19 -0
  47. package/src/interfaces/AnswerType.ts +2 -0
  48. package/src/interfaces/index.ts +1 -0
@@ -97,6 +97,8 @@ export * from './Asta/Inspection/get/getInspectionQuery.hook';
97
97
  export * from './Asta/Inspection/mutate/useInspectionMutateQuery.hook';
98
98
  export * from './Asta/Inspection/others/deleteInspectionQuery.hook';
99
99
  export * from './Asta/Inspection/others/finishInspectionQuery.hook';
100
+ export * from './Asta/Inspection/others/archiveTemplateQuery.hook';
101
+ export * from './Asta/Inspection/others/extractTemplateQuery.hook';
100
102
 
101
103
  export * from './Asta/Answer/get/getAstaAnswerQuery.hook';
102
104
  export * from './Asta/Answer/mutate/useAstaAnswersMutateQuery.hook';
@@ -104,6 +106,22 @@ export * from './Asta/Answer/others/finishAstaAnswersQuery.hook';
104
106
  export * from './Asta/Answer/others/putAnswerImageQuery.hook';
105
107
 
106
108
  export * from './Asta/AnswerType/get/getAnswerTypeQuery.hook';
109
+ export * from './Asta/AnswerType/get/getAllAnswerTypeQuery.hook';
110
+ export * from './Asta/AnswerType/get/getAnswerColorsQuery.hook';
111
+ export * from './Asta/AnswerType/get/getAnswerTypeByIdQuery.hook';
112
+ export * from './Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook';
113
+ export * from './Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook';
114
+ export * from './Asta/AnswerType/others/deleteAnswerTypeQuery.hook';
115
+ export * from './Asta/AnswerType/others/finishAnswerTypeQuery.hook';
116
+
117
+ export * from './Asta/Actions/get/getActionByIdQuery.hook';
118
+ export * from './Asta/Actions/get/getActionPriorityQuery.hook';
119
+ export * from './Asta/Actions/get/getActionQuery.hook';
120
+ export * from './Asta/Actions/mutate/useActionMutateQuery.hook';
121
+ export * from './Asta/Actions/others/deleteActionQuery.hook';
122
+ export * from './Asta/Actions/others/extractActionQuery.hook';
123
+ export * from './Asta/Actions/others/archiveActionQuery.hook';
124
+ export * from './Asta/Actions/others/finishActionQuery.hook';
107
125
 
108
126
  //Others
109
127
  export * from './Others/useJobTitlesQuery.hook';
@@ -0,0 +1,19 @@
1
+
2
+ export interface Actions {
3
+ Id: string;
4
+ Title: string;
5
+ Description: string;
6
+ UserName: string;
7
+ State: string;
8
+ Priority: string;
9
+ EndDate: number;
10
+ InspectionAnswer: any;
11
+ InspectionId: string;
12
+ InspectionName: string;
13
+ QuestionId: string;
14
+ QuestionName: string;
15
+ CreatedBy: string;
16
+ Answer: string;
17
+ Color: string;
18
+ QuestionAnswerId: string;
19
+ }
@@ -6,6 +6,8 @@ export interface AnswerType {
6
6
  IsCheckBox: boolean;
7
7
  IsNumeric: boolean;
8
8
  HasGrade: boolean;
9
+ isMandatory: boolean;
10
+ isEmphasis: boolean;
9
11
  State: string;
10
12
  Grade: number;
11
13
  Options: AnswerTypeOptions[];
@@ -46,3 +46,4 @@ export * from './Responses';
46
46
  export * from './TimeKeeping';
47
47
  export * from './Employee';
48
48
  export * from './AnswerType';
49
+ export * from './Actions';