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
|
@@ -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
|
|
114
|
-
if (
|
|
113
|
+
for (let attributeDTO of group.RequestAttributeDtos) {
|
|
114
|
+
if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
|
|
115
115
|
Attachments.push({
|
|
116
|
-
id:
|
|
117
|
-
name:
|
|
118
|
-
type:
|
|
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
|
-
|
|
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
|
|
303
|
-
if (
|
|
302
|
+
for (let attributeDTO of group.RequestAttributeDtos) {
|
|
303
|
+
if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
|
|
304
304
|
Attachments.push({
|
|
305
|
-
id:
|
|
306
|
-
name:
|
|
307
|
-
type:
|
|
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
|
-
|
|
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
|
|
480
|
-
if (
|
|
479
|
+
for (let attributeDTO of group.RequestAttributeDtos) {
|
|
480
|
+
if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
|
|
481
481
|
Attachments.push({
|
|
482
|
-
id:
|
|
483
|
-
name:
|
|
484
|
-
type:
|
|
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
|
-
|
|
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
|
|
778
|
-
if (
|
|
777
|
+
for (let attributeDTO of group.RequestAttributeDtos) {
|
|
778
|
+
if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
|
|
779
779
|
Attachments.push({
|
|
780
|
-
id:
|
|
781
|
-
name:
|
|
782
|
-
type:
|
|
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
|
-
|
|
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
|
|
928
|
-
if (
|
|
927
|
+
for (let attributeDTO of group.RequestAttributeDtos) {
|
|
928
|
+
if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
|
|
929
929
|
Attachments.push({
|
|
930
|
-
id:
|
|
931
|
-
name:
|
|
932
|
-
type:
|
|
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
|
-
|
|
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
|
|
1231
|
-
if (
|
|
1230
|
+
for (let attributeDTO of group.RequestAttributeDtos) {
|
|
1231
|
+
if (attributeDTO.AttributeTypeValueTypeName === "Attachment") {
|
|
1232
1232
|
Attachments.push({
|
|
1233
|
-
id:
|
|
1234
|
-
name:
|
|
1235
|
-
type:
|
|
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
|
-
|
|
1239
|
+
attributeDTO.Value +
|
|
1240
1240
|
"?" +
|
|
1241
1241
|
ReadSASResult.Result.split("?")[1]
|
|
1242
1242
|
: "",
|