@beam3_dev/api_module 0.0.72 → 0.0.76
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/README.md +2 -0
- package/dist/wb3Api.js +79 -80
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +2 -2
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +47 -46
package/README.md
CHANGED
package/dist/wb3Api.js
CHANGED
|
@@ -431,7 +431,11 @@ function C(e, t = void 0, n = void 0) {
|
|
|
431
431
|
t && t(a.csrf.value);
|
|
432
432
|
},
|
|
433
433
|
onFailure(o, c, r) {
|
|
434
|
-
n && n({
|
|
434
|
+
n && n({
|
|
435
|
+
response: o,
|
|
436
|
+
headers: c,
|
|
437
|
+
xhr: r
|
|
438
|
+
});
|
|
435
439
|
}
|
|
436
440
|
});
|
|
437
441
|
} else
|
|
@@ -519,24 +523,20 @@ function W(e, t, n, s, o, c, r = void 0, a = void 0) {
|
|
|
519
523
|
ENO_CSRF_TOKEN: c
|
|
520
524
|
},
|
|
521
525
|
data: JSON.stringify({
|
|
522
|
-
data: [
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
},
|
|
537
|
-
tempId: S
|
|
538
|
-
}
|
|
539
|
-
]
|
|
526
|
+
data: [{
|
|
527
|
+
id: t,
|
|
528
|
+
relateddata: {
|
|
529
|
+
files: [{
|
|
530
|
+
id: n,
|
|
531
|
+
dataelements: {
|
|
532
|
+
title: o,
|
|
533
|
+
receipt: h
|
|
534
|
+
},
|
|
535
|
+
updateAction: "REVISE"
|
|
536
|
+
}]
|
|
537
|
+
},
|
|
538
|
+
tempId: S
|
|
539
|
+
}]
|
|
540
540
|
}),
|
|
541
541
|
type: "json",
|
|
542
542
|
onComplete(y) {
|
|
@@ -588,27 +588,23 @@ async function ke(e, t, n, s, o = void 0, c = void 0) {
|
|
|
588
588
|
"Content-Type": "application/json"
|
|
589
589
|
},
|
|
590
590
|
data: JSON.stringify({
|
|
591
|
-
data: [
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
{
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
},
|
|
609
|
-
tempId: I()
|
|
610
|
-
}
|
|
611
|
-
]
|
|
591
|
+
data: [{
|
|
592
|
+
type: "Document",
|
|
593
|
+
dataelements: {
|
|
594
|
+
title: `Title_${n.toLowerCase().split(" ").join("_")}`,
|
|
595
|
+
policy: "Document Release",
|
|
596
|
+
description: s
|
|
597
|
+
},
|
|
598
|
+
relateddata: {
|
|
599
|
+
files: [{
|
|
600
|
+
dataelements: {
|
|
601
|
+
title: `${n}.json`,
|
|
602
|
+
receipt: T
|
|
603
|
+
}
|
|
604
|
+
}]
|
|
605
|
+
},
|
|
606
|
+
tempId: I()
|
|
607
|
+
}]
|
|
612
608
|
}),
|
|
613
609
|
type: "json",
|
|
614
610
|
timeout: 0,
|
|
@@ -703,11 +699,24 @@ async function R(e, t = void 0, n = void 0) {
|
|
|
703
699
|
Accept: "application/json"
|
|
704
700
|
},
|
|
705
701
|
onComplete(i) {
|
|
706
|
-
|
|
707
|
-
|
|
702
|
+
let d;
|
|
703
|
+
try {
|
|
704
|
+
d = JSON.parse(i);
|
|
705
|
+
} catch {
|
|
706
|
+
d = i;
|
|
707
|
+
}
|
|
708
|
+
return result = d, t && t(d), result;
|
|
708
709
|
},
|
|
709
710
|
onFailure(i, d, l) {
|
|
710
|
-
n && (console.log("error http", i), n({
|
|
711
|
+
n && (console.log("error http", i), n({
|
|
712
|
+
msg: JSON.parse(i),
|
|
713
|
+
headers: d,
|
|
714
|
+
xhr: l
|
|
715
|
+
}), c({
|
|
716
|
+
msg: JSON.parse(i),
|
|
717
|
+
headers: d,
|
|
718
|
+
xhr: l
|
|
719
|
+
}));
|
|
711
720
|
}
|
|
712
721
|
});
|
|
713
722
|
},
|
|
@@ -806,11 +815,9 @@ function De(e, t, n = void 0, s = void 0) {
|
|
|
806
815
|
"Content-Type": "application/json"
|
|
807
816
|
},
|
|
808
817
|
data: JSON.stringify({
|
|
809
|
-
data: [
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
}
|
|
813
|
-
]
|
|
818
|
+
data: [{
|
|
819
|
+
id: t
|
|
820
|
+
}]
|
|
814
821
|
}),
|
|
815
822
|
type: "json",
|
|
816
823
|
onComplete(a) {
|
|
@@ -847,12 +854,10 @@ function Fe(e, t, n, s = void 0, o = void 0) {
|
|
|
847
854
|
"Content-Type": "application/json"
|
|
848
855
|
},
|
|
849
856
|
data: JSON.stringify({
|
|
850
|
-
data: [
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
}
|
|
855
|
-
]
|
|
857
|
+
data: [{
|
|
858
|
+
id: t,
|
|
859
|
+
nextState: n
|
|
860
|
+
}]
|
|
856
861
|
}),
|
|
857
862
|
type: "json",
|
|
858
863
|
onComplete(i) {
|
|
@@ -889,11 +894,9 @@ function Ue(e, t, n = void 0, s = void 0) {
|
|
|
889
894
|
"Content-Type": "application/json"
|
|
890
895
|
},
|
|
891
896
|
data: JSON.stringify({
|
|
892
|
-
graphRequests: [
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
}
|
|
896
|
-
]
|
|
897
|
+
graphRequests: [{
|
|
898
|
+
id: t
|
|
899
|
+
}]
|
|
897
900
|
}),
|
|
898
901
|
type: "json",
|
|
899
902
|
onComplete(a) {
|
|
@@ -930,17 +933,15 @@ function je(e, t, n = void 0, s = void 0) {
|
|
|
930
933
|
"Content-Type": "application/json"
|
|
931
934
|
},
|
|
932
935
|
data: JSON.stringify({
|
|
933
|
-
data: [
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
}
|
|
943
|
-
]
|
|
936
|
+
data: [{
|
|
937
|
+
"attribute[PLMReference.V_versionComment]": null,
|
|
938
|
+
physicalid: t,
|
|
939
|
+
type: "Document",
|
|
940
|
+
tenant: e.tenant,
|
|
941
|
+
objectId: t,
|
|
942
|
+
policy: "Document Release",
|
|
943
|
+
availableSemantic: ["E", "LAST", "NEW", "DUP"]
|
|
944
|
+
}]
|
|
944
945
|
}),
|
|
945
946
|
type: "json",
|
|
946
947
|
onComplete(a) {
|
|
@@ -977,15 +978,13 @@ function $e(e, t, n, s = void 0, o = void 0) {
|
|
|
977
978
|
"Content-Type": "application/json"
|
|
978
979
|
},
|
|
979
980
|
data: JSON.stringify({
|
|
980
|
-
data: [
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
revision: n
|
|
986
|
-
}
|
|
981
|
+
data: [{
|
|
982
|
+
physicalid: t,
|
|
983
|
+
proposedRevision: n,
|
|
984
|
+
modifiedAttributes: {
|
|
985
|
+
revision: n
|
|
987
986
|
}
|
|
988
|
-
],
|
|
987
|
+
}],
|
|
989
988
|
folderid: null,
|
|
990
989
|
notificationTimeout: 600
|
|
991
990
|
}),
|
|
@@ -1906,14 +1905,14 @@ export {
|
|
|
1906
1905
|
Ue as _3DSpace_lifecycle_getGraph,
|
|
1907
1906
|
je as _3DSpace_lifecycle_getNextRevision,
|
|
1908
1907
|
De as _3DSpace_lifecycle_getNextStates,
|
|
1909
|
-
We as _3DSwim_getAllCommunities,
|
|
1910
|
-
Q as _3DSwim_getMembersCommunity,
|
|
1911
1908
|
Ve as _3DSwym_buildDirectMessage,
|
|
1912
1909
|
Ye as _3DSwym_deleteIdea,
|
|
1913
1910
|
Z as _3DSwym_findCommunityToInstantMSG,
|
|
1911
|
+
We as _3DSwym_getAllCommunities,
|
|
1914
1912
|
Ge as _3DSwym_getAllNews,
|
|
1915
1913
|
Ke as _3DSwym_getFamiliarPeople,
|
|
1916
1914
|
Xe as _3DSwym_getIdeaStatusMaturity,
|
|
1915
|
+
Q as _3DSwym_getMembersCommunity,
|
|
1917
1916
|
He as _3DSwym_getSWYMIdea,
|
|
1918
1917
|
ze as _3DSwym_get_AllSWYMIdeas,
|
|
1919
1918
|
qe as _3DSwym_get_currentUser,
|