octopian-apis 1.0.45 → 1.0.46

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.45",
3
+ "version": "1.0.46",
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": {
@@ -110,16 +110,16 @@ export async function GetMyApprovedCorrespondenceRequests(
110
110
  );
111
111
  for (let attributeGroup of DecodedAttachmentsRecordList) {
112
112
  for (let group of attributeGroup) {
113
- for (let attribute of group.RequestAttributeDtos) {
114
- if (attribute.AttributeTypeValueTypeName === "Attachment") {
113
+ for (let attributeDTO of group.RequestAttributeDtos) {
114
+ if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
115
115
  Attachments.push({
116
- id: attribute.RequestAttributeId || 0,
117
- name: attribute.Name || "",
118
- type: attribute.Value?.split(".").pop() || "",
116
+ id: attributeDTO.RequestAttributeId || 0,
117
+ name: attributeDTO.ExtendedValue || "",
118
+ type: attributeDTO.Value?.split(".").pop() || "",
119
119
  url: ReadSASResult?.Result
120
120
  ? ReadSASResult.Result.split("?")[0] +
121
121
  "/" +
122
- attribute.Value +
122
+ attributeDTO.Value +
123
123
  "?" +
124
124
  ReadSASResult.Result.split("?")[1]
125
125
  : "",
@@ -299,16 +299,16 @@ export async function GetMyRejectedCorrespondenceRequests(
299
299
  );
300
300
  for (let attributeGroup of DecodedAttachmentsRecordList) {
301
301
  for (let group of attributeGroup) {
302
- for (let attribute of group.RequestAttributeDtos) {
303
- if (attribute.AttributeTypeValueTypeName === "Attachment") {
302
+ for (let attributeDTO of group.RequestAttributeDtos) {
303
+ if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
304
304
  Attachments.push({
305
- id: attribute.RequestAttributeId || 0,
306
- name: attribute.Name || "",
307
- type: attribute.Value?.split(".").pop() || "",
305
+ id: attributeDTO.RequestAttributeId || 0,
306
+ name: attributeDTO.ExtendedValue || "",
307
+ type: attributeDTO.Value?.split(".").pop() || "",
308
308
  url: ReadSASResult?.Result
309
309
  ? ReadSASResult.Result.split("?")[0] +
310
310
  "/" +
311
- attribute.Value +
311
+ attributeDTO.Value +
312
312
  "?" +
313
313
  ReadSASResult.Result.split("?")[1]
314
314
  : "",
@@ -476,25 +476,25 @@ export async function GetMyDraftCorrespondenceRequests(
476
476
  );
477
477
  for (let attributeGroup of DecodedAttachmentsRecordList) {
478
478
  for (let group of attributeGroup) {
479
- for (let attribute of group.RequestAttributeDtos) {
480
- if (attribute.AttributeTypeValueTypeName === "Attachment") {
479
+ for (let attributeDTO of group.RequestAttributeDtos) {
480
+ if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
481
481
  Attachments.push({
482
- id: attribute.RequestAttributeId || 0,
483
- name: attribute.Name || "",
484
- type: attribute.Value?.split(".").pop() || "",
482
+ id: attributeDTO.RequestAttributeId || 0,
483
+ name: attributeDTO.ExtendedValue || "",
484
+ type: attributeDTO.Value?.split(".").pop() || "",
485
485
  url: ReadSASResult?.Result
486
486
  ? ReadSASResult.Result.split("?")[0] +
487
487
  "/" +
488
- attribute.Value +
488
+ attributeDTO.Value +
489
489
  "?" +
490
490
  ReadSASResult.Result.split("?")[1]
491
491
  : "",
492
492
  });
493
493
  }
494
494
  }
495
- }
496
495
  }
497
496
  }
497
+ }
498
498
  }
499
499
  });
500
500
  }
@@ -774,16 +774,16 @@ export async function GetCancelledCorrespondenceRequests(
774
774
  );
775
775
  for (let attributeGroup of DecodedAttachmentsRecordList) {
776
776
  for (let group of attributeGroup) {
777
- for (let attribute of group.RequestAttributeDtos) {
778
- if (attribute.AttributeTypeValueTypeName === "Attachment") {
777
+ for (let attributeDTO of group.RequestAttributeDtos) {
778
+ if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
779
779
  Attachments.push({
780
- id: attribute.RequestAttributeId || 0,
781
- name: attribute.Name || "",
782
- type: attribute.Value?.split(".").pop() || "",
780
+ id: attributeDTO.RequestAttributeId || 0,
781
+ name: attributeDTO.ExtendedValue || "",
782
+ type: attributeDTO.Value?.split(".").pop() || "",
783
783
  url: ReadSASResult?.Result
784
784
  ? ReadSASResult.Result.split("?")[0] +
785
785
  "/" +
786
- attribute.Value +
786
+ attributeDTO.Value +
787
787
  "?" +
788
788
  ReadSASResult.Result.split("?")[1]
789
789
  : "",
@@ -924,16 +924,16 @@ export async function GetMyClosedCorrespondenceRequests(
924
924
  );
925
925
  for (let attributeGroup of DecodedAttachmentsRecordList) {
926
926
  for (let group of attributeGroup) {
927
- for (let attribute of group.RequestAttributeDtos) {
928
- if (attribute.AttributeTypeValueTypeName === "Attachment") {
927
+ for (let attributeDTO of group.RequestAttributeDtos) {
928
+ if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
929
929
  Attachments.push({
930
- id: attribute.RequestAttributeId || 0,
931
- name: attribute.Name || "",
932
- type: attribute.Value?.split(".").pop() || "",
930
+ id: attributeDTO.RequestAttributeId || 0,
931
+ name: attributeDTO.ExtendedValue || "",
932
+ type: attributeDTO.Value?.split(".").pop() || "",
933
933
  url: ReadSASResult?.Result
934
934
  ? ReadSASResult.Result.split("?")[0] +
935
935
  "/" +
936
- attribute.Value +
936
+ attributeDTO.Value +
937
937
  "?" +
938
938
  ReadSASResult.Result.split("?")[1]
939
939
  : "",
@@ -1227,16 +1227,16 @@ export async function GetMyInboxCorrespondenceRequests(
1227
1227
  );
1228
1228
  for (let attributeGroup of DecodedAttachmentsRecordList) {
1229
1229
  for (let group of attributeGroup) {
1230
- for (let attribute of group.RequestAttributeDtos) {
1231
- if (attribute.AttributeTypeValueTypeName === "Attachment") {
1230
+ for (let attributeDTO of group.RequestAttributeDtos) {
1231
+ if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
1232
1232
  Attachments.push({
1233
- id: attribute.RequestAttributeId || 0,
1234
- name: attribute.Name || "",
1235
- type: attribute.Value?.split(".").pop() || "",
1233
+ id: attributeDTO.RequestAttributeId || 0,
1234
+ name: attributeDTO.ExtendedValue || "",
1235
+ type: attributeDTO.Value?.split(".").pop() || "",
1236
1236
  url: ReadSASResult?.Result
1237
1237
  ? ReadSASResult.Result.split("?")[0] +
1238
1238
  "/" +
1239
- attribute.Value +
1239
+ attributeDTO.Value +
1240
1240
  "?" +
1241
1241
  ReadSASResult.Result.split("?")[1]
1242
1242
  : "",