octopian-apis 1.0.51 → 1.0.52

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.51",
3
+ "version": "1.0.52",
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": {
@@ -181,7 +181,7 @@ export async function GetMyApprovedCorrespondenceRequests(
181
181
  ProcessFlow.push({
182
182
  Id: step.RequestStepId,
183
183
  ImagePath: ProviderImagePath,
184
- Name: step.ProviderName,
184
+ Name: step.ProviderName || step.ProviderRoleName,
185
185
  Comment: step.ProviderComments,
186
186
  SubmitDate: step.StartDate,
187
187
  ParentRequestStepId: step.ParentRequestStepId || 0,
@@ -393,7 +393,7 @@ export async function GetMyRejectedCorrespondenceRequests(
393
393
  ProcessFlow.push({
394
394
  Id: step.RequestStepId,
395
395
  ImagePath: ProviderImagePath,
396
- Name: step.ProviderName,
396
+ Name: step.ProviderName || step.ProviderRoleName,
397
397
  Comment: step.ProviderComments,
398
398
  SubmitDate: step.StartDate,
399
399
  ParentRequestStepId: step.ParentRequestStepId || 0,
@@ -1053,7 +1053,7 @@ export async function GetMyClosedCorrespondenceRequests(
1053
1053
  ProcessFlow.push({
1054
1054
  Id: step.RequestStepId,
1055
1055
  ImagePath: ProviderImagePath,
1056
- Name: step.ProviderName,
1056
+ Name: step.ProviderName || step.ProviderRoleName,
1057
1057
  Comment: step.ProviderComments,
1058
1058
  SubmitDate: step.StartDate,
1059
1059
  ParentRequestStepId: step.ParentRequestStepId || 0,
@@ -1378,7 +1378,7 @@ export async function GetMyInboxCorrespondenceRequests(
1378
1378
  ProcessFlow.push({
1379
1379
  Id: step.RequestStepId,
1380
1380
  ImagePath: ProviderImagePath,
1381
- Name: step.ProviderName,
1381
+ Name: step.ProviderName || step.ProviderRoleName,
1382
1382
  Comment: step.ProviderComments,
1383
1383
  SubmitDate: step.StartDate,
1384
1384
  ParentRequestStepId: step.ParentRequestStepId || 0,