octopian-apis 1.0.39 → 1.0.40
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/CoreServices/correspondenceServices.js +11 -0
- package/src/modals/input-modals/request-step-modals/GetRequestStepListInput.ts +1 -0
- package/src/modals/input-modals/request-step-modals/ProcessStepSpecialActionInput.ts +7 -0
- package/src/modals/output-modals/request-step-modals/GetRequestStepListOutput.ts +1 -0
package/package.json
CHANGED
|
@@ -47,6 +47,7 @@ export async function GetMyApprovedCorrespondenceRequests(
|
|
|
47
47
|
GetMyCorrespondenceListDTO["WithRequestAttributes"] = true;
|
|
48
48
|
GetMyCorrespondenceListDTO["RequestStepStatus"] = "Approved";
|
|
49
49
|
GetMyCorrespondenceListDTO["WithPreviousClosedRequestSteps"] = true;
|
|
50
|
+
GetMyCorrespondenceListDTO["WithCurrentActiveRequestStep"] = true;
|
|
50
51
|
let APIResponse = await apiHandler.PostMethod(
|
|
51
52
|
RequestStepsAPIConstants.uriGetMyRequestStepList(),
|
|
52
53
|
GetMyCorrespondenceListDTO,
|
|
@@ -113,6 +114,16 @@ export async function GetMyApprovedCorrespondenceRequests(
|
|
|
113
114
|
});
|
|
114
115
|
});
|
|
115
116
|
}
|
|
117
|
+
if(element.CurrentActiveRequestStep){
|
|
118
|
+
ProcessFlow.push({
|
|
119
|
+
Id: element.CurrentActiveRequestStep.RequestStepId,
|
|
120
|
+
ImagePath: "",
|
|
121
|
+
Name: element.CurrentActiveRequestStep.ProviderRoleName,
|
|
122
|
+
Comment: "",
|
|
123
|
+
SubmitDate: element.CurrentActiveRequestStep.StartDate,
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
|
|
116
127
|
MappedResult.push({
|
|
117
128
|
RequestId: element.RequestId,
|
|
118
129
|
StepId: element.RequestStepId,
|
|
@@ -24,6 +24,7 @@ export interface GetRequestStepListInput {
|
|
|
24
24
|
WithChildRequestStep?: boolean
|
|
25
25
|
WithStepStatus?: boolean
|
|
26
26
|
WithPreviousClosedRequestSteps?: boolean
|
|
27
|
+
WithCurrentActiveRequestStep?: boolean
|
|
27
28
|
IsCompleted?: boolean
|
|
28
29
|
IsAttributesGrouped?: boolean
|
|
29
30
|
FilterDismissedRequestStep?: boolean
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
export interface ProcessStepSpecialActionInput {
|
|
2
2
|
RequestStepId: number;
|
|
3
3
|
ActionType: string;
|
|
4
|
+
DynamicSteps: DynamicSteps[];
|
|
5
|
+
ProviderComment?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface DynamicSteps{
|
|
9
|
+
StepName: string;
|
|
4
10
|
RoleId: number;
|
|
11
|
+
SequenceNo: number;
|
|
5
12
|
}
|
|
@@ -140,6 +140,7 @@ import { GetMyRequestOutput, RequestList } from "../request-modals/GetMyRequestG
|
|
|
140
140
|
RequestAttributeGroupsDTO: RequestAttributeGroupsDto[]
|
|
141
141
|
Request: GetMyRequestOutput
|
|
142
142
|
PreviousClosedRequestStepList: GetRequestStepListOutput[]
|
|
143
|
+
CurrentActiveRequestStep: GetRequestStepListOutput
|
|
143
144
|
StepStatusCounter: StepStatusCounter
|
|
144
145
|
}
|
|
145
146
|
|