octopian-apis 1.0.42 → 1.0.44
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 +1 -1
- package/src/CoreServices/correspondenceServices.js +6 -12
- package/src/CoreServices/requestsServices.js +35 -0
- package/src/CoreServices/transactionsServices.js +567 -13
- package/src/index.d.ts +483 -1
- package/src/index.js +33 -3
- package/src/modals/input-modals/transaction-catalog-modals/ConvertPersonalUnitMemberInput.ts +3 -0
- package/src/modals/input-modals/transaction-catalog-modals/GetPersonalUnitMemberInput.ts +5 -0
- package/src/modals/input-modals/transaction-catalog-modals/MaintainAgentInteractorInput.ts +137 -0
- package/src/modals/input-modals/transaction-catalog-modals/MaintainAgentUnitInput.ts +15 -0
- package/src/modals/input-modals/transaction-catalog-modals/MaintainServiceManagementInput.ts +6 -0
- package/src/modals/output-modals/request-modals/GetServiceManagementServiceListOutput.ts +5 -0
- package/src/modals/output-modals/transaction-catalog-modals/InteractorRoleDelegationOutput.ts +3 -0
- package/src/modals/output-modals/transaction-catalog-modals/MaintainAgentInteractorOutput.ts +78 -0
- package/src/web-services/apiConstants.js +45 -0
package/package.json
CHANGED
|
@@ -103,8 +103,7 @@ export async function GetMyApprovedCorrespondenceRequests(
|
|
|
103
103
|
for (let group of attributeGroup) {
|
|
104
104
|
for (let attribute of group.RequestAttributeDtos) {
|
|
105
105
|
if (
|
|
106
|
-
attribute.AttributeTypeValueTypeName ===
|
|
107
|
-
AttributeTypeValueTypeNames.Attachment
|
|
106
|
+
attribute.AttributeTypeValueTypeName === "Attachment"
|
|
108
107
|
) {
|
|
109
108
|
Attachments.push({
|
|
110
109
|
id: attribute.RequestAttributeId || 0,
|
|
@@ -290,8 +289,7 @@ export async function GetMyRejectedCorrespondenceRequests(
|
|
|
290
289
|
for (let group of attributeGroup) {
|
|
291
290
|
for (let attribute of group.RequestAttributeDtos) {
|
|
292
291
|
if (
|
|
293
|
-
attribute.AttributeTypeValueTypeName ===
|
|
294
|
-
AttributeTypeValueTypeNames.Attachment
|
|
292
|
+
attribute.AttributeTypeValueTypeName === "Attachment"
|
|
295
293
|
) {
|
|
296
294
|
Attachments.push({
|
|
297
295
|
id: attribute.RequestAttributeId || 0,
|
|
@@ -464,8 +462,7 @@ export async function GetMyDraftCorrespondenceRequests(
|
|
|
464
462
|
for (let group of attributeGroup) {
|
|
465
463
|
for (let attribute of group.RequestAttributeDtos) {
|
|
466
464
|
if (
|
|
467
|
-
attribute.AttributeTypeValueTypeName ===
|
|
468
|
-
AttributeTypeValueTypeNames.Attachment
|
|
465
|
+
attribute.AttributeTypeValueTypeName === "Attachment"
|
|
469
466
|
) {
|
|
470
467
|
Attachments.push({
|
|
471
468
|
id: attribute.RequestAttributeId || 0,
|
|
@@ -610,8 +607,7 @@ export async function GetInProcessCorrespondenceRequests(
|
|
|
610
607
|
for (let group of attributeGroup) {
|
|
611
608
|
for (let attribute of group.RequestAttributeDtos) {
|
|
612
609
|
if (
|
|
613
|
-
attribute.AttributeTypeValueTypeName ===
|
|
614
|
-
AttributeTypeValueTypeNames.Attachment
|
|
610
|
+
attribute.AttributeTypeValueTypeName === "Attachment"
|
|
615
611
|
) {
|
|
616
612
|
Attachments.push({
|
|
617
613
|
id: attribute.RequestAttributeId || 0,
|
|
@@ -758,8 +754,7 @@ export async function GetMyClosedCorrespondenceRequests(
|
|
|
758
754
|
for (let group of attributeGroup) {
|
|
759
755
|
for (let attribute of group.RequestAttributeDtos) {
|
|
760
756
|
if (
|
|
761
|
-
attribute.AttributeTypeValueTypeName ===
|
|
762
|
-
AttributeTypeValueTypeNames.Attachment
|
|
757
|
+
attribute.AttributeTypeValueTypeName === "Attachment"
|
|
763
758
|
) {
|
|
764
759
|
Attachments.push({
|
|
765
760
|
id: attribute.RequestAttributeId || 0,
|
|
@@ -1057,8 +1052,7 @@ export async function GetMyInboxCorrespondenceRequests(
|
|
|
1057
1052
|
for (let group of attributeGroup) {
|
|
1058
1053
|
for (let attribute of group.RequestAttributeDtos) {
|
|
1059
1054
|
if (
|
|
1060
|
-
attribute.AttributeTypeValueTypeName ===
|
|
1061
|
-
AttributeTypeValueTypeNames.Attachment
|
|
1055
|
+
attribute.AttributeTypeValueTypeName === "Attachment"
|
|
1062
1056
|
) {
|
|
1063
1057
|
Attachments.push({
|
|
1064
1058
|
id: attribute.RequestAttributeId || 0,
|
|
@@ -986,6 +986,41 @@ export async function SubmitCartOrder(
|
|
|
986
986
|
return APIResponse;
|
|
987
987
|
}
|
|
988
988
|
|
|
989
|
+
/**
|
|
990
|
+
* @description
|
|
991
|
+
* Retrieves a list of distinct services from the service management request.
|
|
992
|
+
*
|
|
993
|
+
* @param {string} AuthToken
|
|
994
|
+
* Authentication token for authorization purposes.
|
|
995
|
+
*
|
|
996
|
+
* @param {number} Timeout
|
|
997
|
+
* Time in milliseconds to wait before the request times out. Default is 30000.
|
|
998
|
+
*
|
|
999
|
+
* @returns
|
|
1000
|
+
* An object containing the response from the Get Service Management Request Distinct Service List request, including
|
|
1001
|
+
* success message, status code, and any additional data returned by the API.
|
|
1002
|
+
* {
|
|
1003
|
+
* Message: Success,
|
|
1004
|
+
* StatusCode: 200,
|
|
1005
|
+
* Result: [
|
|
1006
|
+
* {
|
|
1007
|
+
* ServiceId: number,
|
|
1008
|
+
* Name: string
|
|
1009
|
+
* Translations: string
|
|
1010
|
+
* },..]
|
|
1011
|
+
*/
|
|
1012
|
+
export async function GetServiceManagementRequestDistinctServiceList(
|
|
1013
|
+
AuthToken = null,
|
|
1014
|
+
Timeout = 30000
|
|
1015
|
+
) {
|
|
1016
|
+
let APIResponse = await apiHandler.PostMethod(
|
|
1017
|
+
RequestsAPIConstants.uriGetServiceManagementRequestDistinctServiceList(),
|
|
1018
|
+
null,
|
|
1019
|
+
AuthToken,
|
|
1020
|
+
Timeout
|
|
1021
|
+
);
|
|
1022
|
+
return APIResponse;
|
|
1023
|
+
}
|
|
989
1024
|
//#endregion
|
|
990
1025
|
|
|
991
1026
|
//#region TransactionCommon
|