octopian-apis 1.0.49 → 1.0.50

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "octopian-apis",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "Transaction APIs SDK that implements Octopian Services which will be used for any node project typescript or javascript",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -184,7 +184,7 @@ export async function GetMyApprovedCorrespondenceRequests(
184
184
  Name: step.ProviderName,
185
185
  Comment: step.ProviderComments,
186
186
  SubmitDate: step.StartDate,
187
- ParentRequestStepId: step.ParentRequestStepId,
187
+ ParentRequestStepId: step.ParentRequestStepId || 0,
188
188
  });
189
189
  });
190
190
  }
@@ -195,7 +195,7 @@ export async function GetMyApprovedCorrespondenceRequests(
195
195
  Name: element.CurrentActiveRequestStep.ProviderRoleName,
196
196
  Comment: "",
197
197
  SubmitDate: element.CurrentActiveRequestStep.StartDate,
198
- ParentRequestStepId: element.CurrentActiveRequestStep.ParentRequestStepId,
198
+ ParentRequestStepId: element.CurrentActiveRequestStep.ParentRequestStepId || 0,
199
199
  });
200
200
  }
201
201
 
@@ -396,7 +396,7 @@ export async function GetMyRejectedCorrespondenceRequests(
396
396
  Name: step.ProviderName,
397
397
  Comment: step.ProviderComments,
398
398
  SubmitDate: step.StartDate,
399
- ParentRequestStepId: step.ParentRequestStepId,
399
+ ParentRequestStepId: step.ParentRequestStepId || 0,
400
400
  });
401
401
  });
402
402
  }
@@ -1056,7 +1056,7 @@ export async function GetMyClosedCorrespondenceRequests(
1056
1056
  Name: step.ProviderName,
1057
1057
  Comment: step.ProviderComments,
1058
1058
  SubmitDate: step.StartDate,
1059
- ParentRequestStepId: step.ParentRequestStepId,
1059
+ ParentRequestStepId: step.ParentRequestStepId || 0,
1060
1060
  });
1061
1061
  });
1062
1062
  }
@@ -1381,7 +1381,7 @@ export async function GetMyInboxCorrespondenceRequests(
1381
1381
  Name: step.ProviderName,
1382
1382
  Comment: step.ProviderComments,
1383
1383
  SubmitDate: step.StartDate,
1384
- ParentRequestStepId: step.ParentRequestStepId,
1384
+ ParentRequestStepId: step.ParentRequestStepId || 0,
1385
1385
  });
1386
1386
  });
1387
1387
  }
@@ -22,6 +22,7 @@
22
22
  Name: string
23
23
  Comment: string
24
24
  SubmitDate: string
25
+ ParentRequestStepId: number
25
26
  }
26
27
  export interface Attachment {
27
28
  id: number